Compass helpers for browser platforms
Preparing search index...
forEachTree
Function forEachTree
forEachTree
<
T
extends
ForEachTreeNode
>
(
data
:
T
|
T
[]
,
handler
:
(
item
:
T
)
=>
void
,
options
?:
{
childrenKey
?:
string
}
,
)
:
void
遍历树的每个数据
Type Parameters
T
extends
ForEachTreeNode
Parameters
data
:
T
|
T
[]
树数据对象
handler
:
(
item
:
T
)
=>
void
处理函数
Optional
options
:
{
childrenKey
?:
string
}
配置项
Optional
childrenKey
?:
string
子节点的key,默认: children
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Compass helpers for browser platforms
Loading...
遍历树的每个数据