foo-webview-sdk
    Preparing search index...

    Interface TraySetContextMenuParams

    Parameters for tray.setContextMenu. Replace the user rows of one menu zone (config.customPosition, default top); the other zones are left as they are. Nothing is stored when any row is rejected or the resource limits are exceeded. An ordinary row reports its click through tray:menuItemClicked; the built-in playback and system rows, and rows declaring playbackAction, run natively and do not. To replace every zone at once, use setMenuZones.

    interface TraySetContextMenuParams {
        config?: TrayMenuConfig;
        items: TrayMenuItem[];
    }
    Index
    config?: TrayMenuConfig

    Menu-wide options to change.

    items: TrayMenuItem[]

    The rows of the zone.