shadow
The Tooltip
element is used to display a popup tooltip on mouseover and can be attached to various elements of a web page. It is easily customizable with attributes for content and location. The tooltip appears when the user hovers the mouse over the target element, and disappears when the mouse leaves the element.
Description | Ak true , tooltip je aktivovaný. |
Attribute | active |
Type | boolean |
Default | false |
content
Description | Definuje obsah nápovedy tooltip. |
Attribute | content |
Type | string |
Default | undefined |
Description | Definuje kde sa má zobraziť nápoveda tooltip vzhľadom k nadradenému elementu. |
Attribute | placement |
Type | "bottom" | "left" | "right" | "top" |
Default | 'top' |
Description | Definuje vzdialenosť tooltipu od jeho nadradeného elementu v pixeloch. |
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 | Odkazuje na div element vo vnútri elementu popup. |
Name | Description |
---|
--arrow-size | Určuje veľkosť šípky tooltipu. |
--arrow-color | Určuje farbu šípky tooltipu. |
No slots available for this component.