Skip to content

TooltipOptions

Defined in: components/tooltip/tooltip.ts:26

Settings for Tooltip, and for Tooltip.show.

optional align?: TooltipAlign

Defined in: components/tooltip/tooltip.ts:39

Where to put the tooltip, relative to the element that opens it.

'right'


optional delay?: boolean

Defined in: components/tooltip/tooltip.ts:54

Keep the tooltip open for delayTime after the mouse leaves.

false


optional delayTime?: number

Defined in: components/tooltip/tooltip.ts:61

How long, in ms, to keep the tooltip open when delay is true.

3000


optional smart?: boolean

Defined in: components/tooltip/tooltip.ts:47

Keep the tooltip inside the window: if it would overflow, try the other alignments, then the default width.

false


optional width?: number

Defined in: components/tooltip/tooltip.ts:32

The width of the tooltip, in px.

150