File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ Convert a plain array of nodes (with pointers to parent nodes) to a a nested dat
36
36
#### Parameters
37
37
- ** Array** ` data ` : An array of data
38
38
- ** Object** ` options ` : An object containing the following fields:
39
- - ` id ` (String): An unique node identifier. Default: 'id'
40
- - ` pid ` (String): A name of a property where a link to a parent node could be found. Default: 'pid'
41
- - ` children ` (String): The child node name that you want. Default: 'children'
42
- - ` firstPid ` (String): The parent id of fisrt level node . Default: null
39
+ - ` id ` (String): An unique node identifier. Default: 'id'
40
+ - ` pid ` (String): A name of a property where a link to a parent node could be found. Default: 'pid'
41
+ - ` children ` (String): The child node name that you want. Default: 'children'
42
+ - ` firstPid ` (String): The parent id of fisrt level node . Default: null
43
43
44
44
#### Return
45
45
- ** Array** : Result of transformation
You can’t perform that action at this time.
0 commit comments