ReadonlyariaAccessible label forwarded to the native element as aria-label.
ReadonlydisabledWhether this item is disabled.
ReadonlyiconSVG inner-content string for an optional icon (use UIIcons.Lucide.*).
ReadonlyidUnique identifier for this toolbar item.
ReadonlyitemEmitted when the user triggers an action on this item.
ReadonlylabelHuman-readable label shown in the tool.
ReadonlyoptionsAvailable select options.
ReadonlytooltipTooltip text shown on pointer hover.
ReadonlyvalueCurrently selected value (two-way bindable).
Deactivate (un-check / un-press) this item.
No-op by default. Overridden by UIToggleTool to set
checked to false, enabling radio-style exclusivity in
UIToggleGroupTool.
ProtectedemitEmit a ToolActionEvent for this item.
The originating mouse event, or null for
programmatic triggers.
A toolbar value picker — the trigger label updates to show the currently selected value, and the selection persists in the
valuemodel.When to use
UISelectToolvsUIDropdownTool:UISelectToolUIDropdownToolvaluemodel holds the selection<select>elementUse
UISelectToolwhen the user needs to pick a value that stays selected (e.g. font size, colour mode, zoom level). Use UIDropdownTool for command lists where the trigger label never changes and no value is retained (e.g. an "Insert" menu).After a selection, the new value is available via
(itemRef as UISelectTool).value()in thetoolActionhandler.Example