Skip to content

<tooltip> ​

Tooltips display a hint of information over some element when hovered.

Example ​

xml
<tooltip position="top">
    <button on-press="Message::Clicked">
        <text>Hover me</text>
    </button>
    <text>Tooltip text</text>
</tooltip>

Attributes ​

AttributeTypeRequired
positionstringYes
gapfloatNo
paddingfloatNo
delaystringNo
snap-within-viewportbooleanNo
stylestringNo