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

    Interface ToolActionEvent

    Payload emitted by toolbar tools when the user interacts with them.

    interface ToolActionEvent {
        event: MouseEvent | null;
        itemId: string;
        itemRef: UIToolbarItem;
    }
    Index

    Properties

    Properties

    event: MouseEvent | null

    The originating mouse event, or null for programmatic triggers (e.g. a UISelectTool value change).

    itemId: string

    The id of the toolbar item that triggered the action.

    itemRef: UIToolbarItem

    Reference to the toolbar item instance that triggered the action.