Lumagrid
    Preparing search index...

    Interface CollapseState

    Expand, collapse and drill-down state provided by CollapseManager.

    interface CollapseState {
        collapse: (id: string) => void;
        collapseAll: () => void;
        drillDown: (id: string) => void;
        drillPath: readonly string[];
        expand: (id: string) => void;
        expandAll: (ids: string[]) => void;
        expandedIds: ReadonlySet<string>;
        isExpanded: (id: string) => boolean;
        rollUp: () => void;
        toggle: (id: string) => void;
    }
    Index
    collapse: (id: string) => void
    collapseAll: () => void
    drillDown: (id: string) => void

    Drill down: expand the node and record it as the current drill-down path. The path is used by rollUp to navigate back.

    drillPath: readonly string[]

    The current drill-down path (ordered list of IDs).

    expand: (id: string) => void
    expandAll: (ids: string[]) => void
    expandedIds: ReadonlySet<string>

    Set of node IDs that are currently expanded. All others are collapsed.

    isExpanded: (id: string) => boolean
    rollUp: () => void

    Roll up: collapse the most recently drilled-into node.

    toggle: (id: string) => void