Skip to content

Class: Tooltip

utilities/tooltip.Tooltip

Constructors

constructor

new Tooltip(parent, cls, options): Tooltip

Parameters

NameType
parentnull | string | HTMLElement
clsstring | HTMLElement | HTMLElement[]
optionsPartial<TooltipOptions>

Returns

Tooltip

Defined in

src/utilities/tooltip.ts:153

Methods

_enter

_enter(target): void

Parameters

NameType
targetHTMLElement

Returns

void

Defined in

src/utilities/tooltip.ts:322


_exit

_exit(target): void

Parameters

NameType
targetHTMLElement

Returns

void

Defined in

src/utilities/tooltip.ts:350


cleanup

cleanup(): void

Returns

void

Defined in

src/utilities/tooltip.ts:307


destroy

destroy(): void

Returns

void

Defined in

src/utilities/tooltip.ts:233


hide

hide(tip): void

Parameters

NameType
tipTooltipInstance

Returns

void

Defined in

src/utilities/tooltip.ts:571


installModifiers

installModifiers(): void

Returns

void

Defined in

src/utilities/tooltip.ts:266


removeModifiers

removeModifiers(): void

Returns

void

Defined in

src/utilities/tooltip.ts:275


show

show(tip): void

Parameters

NameType
tipTooltipInstance

Returns

void

Defined in

src/utilities/tooltip.ts:380


updateShift

updateShift(state, ctrl_state): void

Parameters

NameType
stateboolean
ctrl_stateboolean

Returns

void

Defined in

src/utilities/tooltip.ts:284