We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb5a78 commit 9499ca8Copy full SHA for 9499ca8
README.md
@@ -60,8 +60,10 @@ The composable returns an object with the following properties:
60
nodes: ComputedRef<Record<string, unknown>[]>;
61
// Reactive object with unique IDs as keys
62
nodesMap: ComputedRef<{[id: string]: Record<string, unknown>;}>;
63
- // Service function to add an empty object to the tree
+ // Service function to add an empty object to the siblings
64
add: (pId: string) => string | undefined;
65
+ // Service function to add an empty object to the children
66
+ addChild: (pId: string) => string | undefined;
67
// Service function to remove an object from the tree
68
remove: (pId: string) => string | undefined;
69
// Service function to move an object down by one position
0 commit comments