Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DecorationAttachmentRenderOptions

A decoration attachment adds content after a TextDocumentDecoration.

Hierarchy

Index

Properties

Optional backgroundColor

backgroundColor: undefined | string

The CSS background-color property value for the attachment.

Optional color

color: undefined | string

The CSS color property value for the attachment.

Optional contentText

contentText: undefined | string

Text to display in the attachment.

Optional dark

Overwrite style for dark themes.

Optional hoverMessage

hoverMessage: undefined | string

Tooltip text to display when hovering over the attachment.

Optional light

Overwrite style for light themes.

Optional linkURL

linkURL: undefined | string

If set, the attachment becomes a link with this destination URL.

Generated using TypeDoc