Spektrum API Reference - v1.2.0
    Preparing search index...

    The dock's public API. mount(opts) returns this object; companions reach it via findDock() or by reading _spektrumDock off the dock element.

    interface DockHandle {
        panels: Map<string, DockPanelHandle>;
        collapse(): void;
        expand(): void;
        registerPanel(opts: DockPanelOptions): DockPanelHandle;
        setActive(id: string): void;
        setSide(side: DockSide): void;
        unmount(): void;
    }
    Index

    Properties

    panels: Map<string, DockPanelHandle>

    Live Map<id, DockPanelHandle> of registered panels. Read-only by convention; mutate via registerPanel / detach.

    Methods