vtils

Home > utils > TreeDataOptions

TreeDataOptions interface

Signature:

export declare interface TreeDataOptions<TNode extends TreeDataNode> 

Properties

Property Modifiers Type Description
childrenPropName?   TreeDataChildrenPropName<TNode> <p>(Optional) 节点上子树数据所在的属性名。</p><p> ‘children’</p>
cloneIgnore?   (value: unknown) => boolean | undefined (Optional) 克隆数据时忽略的值。
searchStrategy?   TreeDataSearchStrategy <p>(Optional) 遍历时的搜索策略。</p><p>- DFS: 深度优先搜索 - BFS: 广度优先搜索</p><p> ‘DFS’</p>