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

    Interface LayoutPosition

    One position of the panel layout, as layout.changed reports it: its state and its panels, in tab order, with the active one marked.

    1.11.0

    interface LayoutPosition {
        preferred: boolean;
        effective: boolean;
        reason: "idle" | "userHidden" | "space" | "fullscreen" | null;
        detached: boolean;
        panels: readonly SlotPanel[];
    }

    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.

    panels: readonly SlotPanel[]

    The position's panels in tab order; active marks the one shown.