SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface CommandChain

    A z-ordered command-parent chain a declarative scope can join — the mechanism 1 seam for #5 (design/COMMAND-DESIGN.md §"Layered resolver"): grid layers are DOM siblings but must resolve as a command-parent chain ordered by z. register slots scope into the chain at order (higher = deeper = wins the cascade) with reparent-on-insert, and returns an unregister. A pane's LayerActivation is the concrete implementation; this interface is what a chain-aware CommandScopeProvider needs, so utils-react stays free of any grid dependency.

    interface CommandChain {
        register(scope: CommandScope, order: number): RemoveListener;
    }
    Index
    • Join scope to the chain at order (reparent-on-insert). Returns an unregister that re-chains the rest.

      Parameters

      Returns RemoveListener