Class: Tooltip
utilities/tooltip.Tooltip
Constructors
constructor
• new Tooltip(parent
, cls
, options
): Tooltip
Parameters
Name | Type |
---|---|
parent | null | string | HTMLElement |
cls | string | HTMLElement | HTMLElement [] |
options | Partial <TooltipOptions > |
Returns
Defined in
Methods
_enter
▸ _enter(target
): void
Parameters
Name | Type |
---|---|
target | HTMLElement |
Returns
void
Defined in
_exit
▸ _exit(target
): void
Parameters
Name | Type |
---|---|
target | HTMLElement |
Returns
void
Defined in
cleanup
▸ cleanup(): void
Returns
void
Defined in
destroy
▸ destroy(): void
Returns
void
Defined in
hide
▸ hide(tip
): void
Parameters
Name | Type |
---|---|
tip | TooltipInstance |
Returns
void
Defined in
installModifiers
▸ installModifiers(): void
Returns
void
Defined in
removeModifiers
▸ removeModifiers(): void
Returns
void
Defined in
show
▸ show(tip
): void
Parameters
Name | Type |
---|---|
tip | TooltipInstance |
Returns
void
Defined in
updateShift
▸ updateShift(state
, ctrl_state
): void
Parameters
Name | Type |
---|---|
state | boolean |
ctrl_state | boolean |
Returns
void