Dockview
    Preparing search index...

    Interface LayoutHistoryOptions

    interface LayoutHistoryOptions {
        clearOnFromJSON?: boolean;
        coalesceMs?: number;
        depth?: number;
        enabled?: boolean;
        recordResize?: boolean;
        undoableProgrammaticMutations?: boolean;
    }
    Index

    Properties

    clearOnFromJSON?: boolean

    Clear the stacks when the whole layout is replaced via fromJSON / clear. Default true.

    coalesceMs?: number

    Debounce window (ms) for coalescing a continuous resize drag into one undo entry. Default 400.

    depth?: number

    Max undo depth (bounded ring). Default 25.

    enabled?: boolean

    Record mutations. Default false (module is registered but inert).

    recordResize?: boolean

    Record sash-resize as undoable steps, coalescing a continuous drag into a single entry. Default true.

    undoableProgrammaticMutations?: boolean

    Also record mutations originating from DockviewApi calls (the app's own programmatic changes). Default false; only user gestures.