foo-webview-sdk
    Preparing search index...

    Interface MenuGetMainMenuSuccess

    Successful response from menu.getMainMenu.

    interface MenuGetMainMenuSuccess {
        fallback?: "flat-mainmenu-commands";
        i18n: boolean;
        items: MenuTreeNode[];
        locale: string;
        requestedRoot: string;
        root: string;
        rootMatched: boolean;
        source?: "v1-hmenu";
        success: true;
        withAvailability: boolean;
    }
    Index
    fallback?: "flat-mainmenu-commands"

    flat-mainmenu-commands when only the flat command list could be built.

    i18n: boolean

    The i18n used.

    items: MenuTreeNode[]

    The top-level nodes.

    locale: string

    The locale used.

    requestedRoot: string

    The root that was asked for.

    root: string

    Label of the submenu returned; empty for the whole menu.

    rootMatched: boolean

    Whether root was found; true when none was asked for, except on the flat list, which is always false.

    source?: "v1-hmenu"

    v1-hmenu when the tree was built from the Win32 menus.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.

    withAvailability: boolean

    The withAvailability used.