UNPKG
@c10t/nice-component-library
Version:
latest (0.0.27-b)
0.0.27
0.0.27-b
0.0.27-a
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.21-g
0.0.21-f
0.0.21-e
0.0.21-d
0.0.21-c
0.0.21-b
0.0.21-a
0.0.20
0.0.20-f
0.0.20-e
0.0.20-d
0.0.20-c
0.0.20-b
0.0.20-a
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.12
0.0.12-b
0.0.12-a
0.0.11
0.0.10-beta
0.0.9-beta
0.0.8-beta
0.0.7-beta
0.0.6-beta
0.0.5-beta
0.0.4-beta
0.0.3-beta
0.0.2-beta
0.0.1-beta
nice-component-library
@c10t/nice-component-library
/
models
/
components
/
flat-tree.model.d.ts
8 lines
(7 loc)
•
224 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
BaseModel
}
from
"../base.model"
;
export
declare
class
FlatTreeModel
{
rootData
:
BaseModel
[];
value
:
(
node
:
any
) =>
string
|
number
;
display
:
(
node
:
any
) =>
string
;
children
:
(
node
:
any
) =>
any
[]; }