foo-webview-sdk
    Preparing search index...

    Interface DiscoveryGetMainMenuCommandsParams

    Parameters for discovery.getMainMenuCommands. List the main-menu commands, flattened, with their label path, GUID and display state. Submenus that components build at runtime (mainmenu_commands_v2) are expanded by default, so their child commands appear next to the parent slot.

    interface DiscoveryGetMainMenuCommandsParams {
        expandDynamic?: boolean;
        includeHidden?: boolean;
    }
    Index
    expandDynamic?: boolean

    Expand submenus that components build at runtime. false lists the static registry only.

    true
    
    includeHidden?: boolean

    Also list entries the host would not show.

    false