shadow
Element Tooltip
slúži na zobrazovanie vyskakovacej nápovedy pri nájazde myšou a je ho možné pripojiť k rôznym elementom webovej stránky. Je ľahko prispôsobiteľný pomocou atribútov pre obsah a umiestnenie. Tooltip sa zobrazí, keď používateľ prejde myšou nad cieľový element, a zmizne, keď myš element opustí.
Description | If true , the tooltip is activated. |
Attribute | active |
Type | boolean |
Default | false |
content
Description | Defines the content of the tooltip. |
Attribute | content |
Type | string |
Default | undefined |
Description | Defines where to display the tooltip relative to the parent element. |
Attribute | placement |
Type | "bottom" | "left" | "right" | "top" |
Default | 'top' |
Description | Defines the distance of the tooltip from its parent element in pixels. |
Attribute | offset |
Type | string |
Default | undefined |
Name | Description |
---|
change | Called when the element state changes. |
No public methods available for this component.
Name | Description |
---|
native | Refers to the div element inside the popup element. |
Name | Description |
---|
--arrow-size | Specifies the size of the tooltip arrow. |
--arrow-color | Specifies the color of the tooltip arrow. |
No slots available for this component.