vtils

Home > utils > TreeDataOptions

TreeDataOptions interface

Signature:

export declare interface TreeDataOptions<TNode extends TreeDataNode> 

Properties

Property Type Description
childrenPropName? TreeDataChildrenPropName<TNode> (Optional) 节点上子树数据所在的属性名。 ‘children’
searchStrategy? TreeDataSearchStrategy (Optional) 遍历时的搜索策略。- DFS: 深度优先搜索 - BFS: 广度优先搜索 ‘DFS’