Element representing a tooltip popup.
By default, the visibility of the tooltip is controlled by the hovered
status of the target element, but may also be controlled manually by changing
the visible
property.
Properties:
Name | Type | Description |
---|---|---|
target |
html.Item | (default: |
text |
string | The text to display. |
visible |
bool | Whether the tooltip is visible. This property may be controlled externally, if needed. |
Example
Button {
text: "Click Me"
Tooltip { text: "I am a tooltip." }
}