foo-webview-sdk
    Preparing search index...

    Interface WindowSetPopupBehaviorParams

    Parameters for window.setPopupBehavior. Change a popup's behavior preset or its per-field overrides at runtime, then announce the result with window:behaviorChanged. profile and behavior are independent: passing one leaves the other alone. Targets as window.getPopupBehavior does; an unknown preset fails with INVALID_PARAMS.

    interface WindowSetPopupBehaviorParams {
        behavior?: Record<string, JsonValue>;
        profile?: string;
        windowId?: string;
    }
    Index
    behavior?: Record<string, JsonValue>

    Overrides merged into the current ones; a null value removes that override.

    profile?: string

    New preset: standard, miniPlayer or desktopLyrics, case-insensitive, with - or _ allowed (mini-player).

    windowId?: string

    Id of the popup; omitted or empty, the calling popup.