@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    A visual grouping container for toolbar items.

    Re-emits its direct children's itemAction events through its own itemAction output, so the parent UIToolbar receives them seamlessly. The itemId and itemRef in the re-emitted event refer to the child item that was activated.

    <ui-toolbar (toolAction)="onAction($event)">
    <ui-button-group-tool id="text-format">
    <ui-button-tool id="bold" label="Bold" />
    <ui-button-tool id="italic" label="Italic" />
    </ui-button-group-tool>
    </ui-toolbar>

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    ariaLabel: InputSignal<string> = ...

    Accessible label forwarded to the native element as aria-label.

    childItems: Signal<readonly UIToolbarItem[]> = ...

    Direct UIToolbarItem content children of this group.

    disabled: InputSignal<boolean> = ...

    Whether this item is disabled.

    icon: InputSignal<string | undefined> = ...

    SVG inner-content string for an optional icon (use UIIcons.Lucide.*).

    id: InputSignal<string> = ...

    Unique identifier for this toolbar item.

    itemAction: OutputEmitterRef<ToolActionEvent> = ...

    Emitted when the user triggers an action on this item.

    label: InputSignal<string> = ...

    Human-readable label shown in the tool.

    tooltip: InputSignal<string> = ...

    Tooltip text shown on pointer hover.

    Methods

    • 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.

      Returns void

    • Emit a ToolActionEvent for this item.

      Parameters

      • event: MouseEvent | null

        The originating mouse event, or null for programmatic triggers.

      Returns void