foo-webview-sdk
    Preparing search index...

    Interface WindowBehaviorChangedPayload

    Payload of the window:behaviorChanged event. window.setPopupBehavior changed a popup's preset or overrides. The payload has the same fields as window.getPopupBehavior returns.

    interface WindowBehaviorChangedPayload {
        behavior: Record<string, JsonValue>;
        profile: "standard" | "legacy" | "miniPlayer" | "desktopLyrics";
        resolvedBehavior: WindowPopupBehaviorState;
        windowId: string;
    }
    Index
    behavior: Record<string, JsonValue>

    The behavior overrides set on the popup.

    profile: "standard" | "legacy" | "miniPlayer" | "desktopLyrics"

    The behavior preset; legacy when the popup was created without one.

    resolvedBehavior: WindowPopupBehaviorState

    The behavior in effect.

    windowId: string

    Id of the popup.