Skip to content

TooltipOptions

Defined in: components/tooltip.ts:5

Options for addTooltip.

tip: Slot

Defined in: components/tooltip.ts:7

The tooltip text or draw function. A string is rendered as rich text.


optional placement?: "left" | "right" | "top" | "bottom"

Defined in: components/tooltip.ts:12

Which side the tooltip appears on. Defaults to "top". Automatically flips to the opposite side when there isn’t enough room.


optional attrs?: string

Defined in: components/tooltip.ts:14

Aberdeen attr/style string applied to the tip panel.