UXP Toolkit
    Preparing search index...

    Interface UxpMenuItem

    Class describing a single menu item of a panel.

    interface UxpMenuItem {
        checked: boolean;
        enabled: boolean;
        id: string;
        label: string;
        parent: UxpMenuItems;
        remove: () => void;
        submenu: UxpMenuItems;
    }
    Index

    Properties

    checked: boolean

    Get menu item checked state.

    enabled: boolean

    Get menu item enable state.

    id: string

    Get menu item id.

    label: string

    Get menu item label, localized string.

    parent: UxpMenuItems

    Get menu parent.

    remove: () => void

    Remove the menu item.

    submenu: UxpMenuItems

    Get menu submenu.