ReadonlyariaAccessible label forwarded to the native element as aria-label.
ReadonlycheckedTwo-way bindable checked state.
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.
ReadonlytooltipTooltip text shown on pointer hover.
Sets checked to false.
Called by UIToggleGroupTool to deactivate siblings when another toggle in the group is activated.
ProtectedemitEmit a ToolActionEvent for this item.
The originating mouse event, or null for
programmatic triggers.
A toolbar tool that toggles between checked and unchecked states.
Emits a ToolActionEvent on each click (regardless of the new checked state). The consumer can read the new state from
(itemRef as UIToggleTool).checked().deactivate sets
checkedtofalse, allowing UIToggleGroupTool to enforce radio-style exclusivity.Example