rc-dock
    Preparing search index...

    Interface PanelData

    Runtime panel with resolved tab definitions and a parent box.

    interface PanelData {
        activeId?: string;
        floatAnchor?: { bottom?: number; right?: number };
        group?: string;
        h?: number;
        heightFlex?: number;
        id?: string;
        minHeight?: number;
        minWidth?: number;
        panelLock?: PanelLock;
        parent?: BoxData;
        size?: number;
        tabs: TabData[];
        w?: number;
        widthFlex?: number;
        x?: number;
        y?: number;
        z?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    activeId?: string

    Selected tab id; defaults to the first tab.

    floatAnchor?: { bottom?: number; right?: number }

    Float mode only: gaps to preserve when the layout resizes. Dragging within 0–32px of the right or bottom edge sets that edge's anchor.

    Type declaration

    • Optionalbottom?: number

      Gap from the layout's bottom edge, in pixels.

    • Optionalright?: number

      Gap from the layout's right edge, in pixels.

    group?: string

    Group name; defaults to the first tab's group.

    h?: number

    Floating or window panel height in pixels.

    heightFlex?: number

    Multiplier for height growth and shrinkage in vertical layouts.

    id?: string

    Unique panel id; generated when omitted.

    minHeight?: number

    Minimum height in pixels.

    minWidth?: number

    Minimum width in pixels.

    panelLock?: PanelLock

    Keep an empty panel and prevent dragging the whole panel into the floating layer. Also provides panel-specific sizing and header overrides.

    parent?: BoxData

    Containing box, assigned at runtime.

    size?: number

    Relative width in a horizontal parent or height in a vertical parent.

    tabs: TabData[]

    Ordered runtime tabs in this panel.

    w?: number

    Floating or window panel width in pixels.

    widthFlex?: number

    Multiplier for width growth and shrinkage in horizontal layouts.

    x?: number

    Floating or window panel's left offset from the layout, in pixels.

    y?: number

    Floating or window panel's top offset from the layout, in pixels.

    z?: number

    Floating panel's stacking order.