class abstract static
meteoJS/tooltip . Tooltip
Source: Tooltip.
Abstract class to create a tooltip.
new Tooltip()
Properties
content (undefined or mixed)
Content of tooltip. Could be a String or a HTMLElement or a jQuery object.
read-only
isShown Boolean
Is tooltip shown.
Methods
abstract
hide() → module:meteoJS/tooltip.Tooltip
Hide tooltip.
- Returns
abstract protected
onContentChange()
Called when property 'content' changes.
abstract
show([options]) → module:meteoJS/tooltip.Tooltip
Show tooltip.
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Yes |
Options. Values in
|
- Returns
abstract
update() → module:meteoJS/tooltip.Tooltip
Update tooltip. E.g. due to content change, which moved the tooltip.
- Returns