@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface SlotState

    The state of the bottom bar or sidebar position, whoever mounted the panel there.

    1.0.0

    interface SlotState {
        preferred: boolean;
        effective: boolean;
        reason: "idle" | "userHidden" | "space" | "fullscreen" | null;
        detached: boolean;
    }

    Hierarchy (View Summary)

    Index
    preferred: boolean

    The user's choice: the check mark of the menu item that shows the panel.

    effective: boolean

    Whether the panel is on screen right now (docked, popped out or floating).

    reason: "idle" | "userHidden" | "space" | "fullscreen" | null

    Why it is not on screen, null while it is:

    • userHidden: the user (or a plugin) turned it off;
    • space: the window is too narrow for the sidebar (the preference stays);
    • fullscreen: the sidebar's fullscreen overlay is collapsed and pops out when the pointer reaches the right edge; treat it as "on" for a toggle button;
    • idle: the bottom bar in fullscreen while the pointer is outside the bar's own band at the bottom of the screen (keys and pointer motion elsewhere do not bring it back).
    detached: boolean

    The sidebar floats in its own window; always false for the bottom bar.