mwg API
    Preparing search index...

    Interface TreeViewOptions<T>

    interface TreeViewOptions<T> {
        disabled?: (node: TreeNode<T>) => boolean;
        expanded?: readonly string[];
        roots: readonly TreeNode<T>[];
    }

    Type Parameters

    • T
    Index
    disabled?: (node: TreeNode<T>) => boolean

    rows the highlight skips, the way ListView skips a disabled item

    expanded?: readonly string[]

    ids expanded from the start; everything else starts collapsed

    roots: readonly TreeNode<T>[]