foo-webview-sdk
    Preparing search index...

    Interface WindowGetPopupBehaviorSuccess

    Successful response from window.getPopupBehavior.

    interface WindowGetPopupBehaviorSuccess {
        behavior: Record<string, JsonValue>;
        profile: "standard" | "legacy" | "miniPlayer" | "desktopLyrics";
        resolvedBehavior: WindowPopupBehaviorState;
        success: true;
        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.

    success: true

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

    windowId: string

    Id of the popup.