- Source
Methods
(static) draw(from, text, x, y, origin) → {void}
Draw tooltip
Parameters:
Name | Type | Description |
---|---|---|
from | HTMLElement | |
text | string | |
x | number | |
y | number | |
origin | string | left, bottom-right, middle |
- Source
Returns:
- Type:
- void
(static) hide() → {void}
Hides the tooltip
- Source
Returns:
- Type:
- void