g3-toolkit API Reference
    Preparing search index...

    Interface TreeLabelContext

    Render-time context for renderLabel (#59).

    interface TreeLabelContext {
        childCount: number;
        depth: number;
        expanded: boolean;
        group: boolean;
        selected: boolean;
    }
    Index

    Properties

    childCount: number

    Children in the hierarchy, filter or not (a count badge should not shrink while the host types).

    depth: number

    0 for a root.

    expanded: boolean
    group: boolean

    True for an expand-only group row (see isGroup).

    selected: boolean