-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
featureNew feature or requestNew feature or request
Description
I have a model named Page
which can have multiple children, which in return can have its own children (and so on).
I would like to have a functiion like findChildren
that would return (given a node/parent) children and its grandchildren in a nested array.
For example:
{
name: 'parent',
children: [
{
name: 'child1',
},
{
name: 'child2',
children: [
{
name: 'grandchild1',
children: [*so on*],
}
}
]
}
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request