Axinom Mosaic Libraries
    Preparing search index...

    Interface ActionBarNavigationAction

    An action of the ActionBar that navigates when clicked.

    interface ActionBarNavigationAction {
        confirmationConfig?: undefined;
        confirmationMode?: undefined;
        disabled?: boolean;
        icon?: string | IconName;
        imgAlt?: string;
        label: string;
        onClick?: undefined;
        openInNewTab?: boolean;
        path: LocationDescriptor<unknown>;
        tag?: string;
        toggled?: undefined;
    }

    Hierarchy (View Summary)

    Index

    Properties

    confirmationConfig?: undefined

    Optional text overrides for the confirmation pop up.

    confirmationMode?: undefined

    If set to 'Simple', the action will require confirmation. If set to 'Advanced', action will require confirmation via a confirmation pop up. (default: 'None')

    disabled?: boolean

    Whether the action is disabled. If set to true, disallows interactions. (default: false)

    icon?: string | IconName

    Optional built in icon. This prop also accepts an img src.

    imgAlt?: string

    Optional image alt attribute.

    label: string

    The label of the action.

    onClick?: undefined

    Callback to emit when a user clicks on the action.

    openInNewTab?: boolean

    If set to true, the link will open in a new tab.

    path: LocationDescriptor<unknown>

    Where to navigate to when the action is clicked.

    tag?: string

    Optional tag rendered next to the label, e.g. 'BETA'.

    toggled?: undefined

    Whether the action is toggled on, e.g. while the panel it has opened is the one on display. Set this to make the action a toggle button rather than a one-shot action. (default: undefined)