foo-webview-sdk
    Preparing search index...

    Interface TraySetMenuItemStateParams

    Parameters for tray.setMenuItemState. Change one row's checked or enabled state in place, searching every zone and submenu for the id. Giving checked (even false) makes the row checkable. The native menu is rebuilt each time it opens, so the change shows on the next opening.

    interface TraySetMenuItemStateParams {
        checked?: boolean;
        enabled?: boolean;
        id: string;
    }
    Index
    checked?: boolean

    New checkmark state.

    enabled?: boolean

    New enabled state.

    id: string

    Id of the row.