Skip to Content

Tooltip

Attaches a tooltip text string to its single child. When the user hovers over the child, the tooltip is displayed. Maps to UIToolkit’s VisualElement.tooltip property set on the child’s native element.

Constructor

Tooltip

Creates an Tooltip element.

ParameterDescription
messageThe tooltip text.
keyAn optional key for reconciliation identity.

Properties

Message

The text shown in the tooltip on hover.

Last updated on