You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| getNode(path: number[]): ISlTreeNode | Find the node by using it's path |
128
128
| traverse(cb: (node: ISlTreeNode, nodeModel: ISlTreeNodeModel, siblings: ISlTreeNodeModel[]) => boolean) | Helpful method to traverse all nodes. The traversing will be stopped if callback returns `false`. |
129
129
| updateNode(path: number[], patch: Partial<ISlTreeNodeModel>) | Update the node by using it's path |
130
-
| select(path: number[], addToSelection = false) | Select the node by using it's path |
131
-
| getFirstNode(): ISlTreeNode | Get the first node in the tree |
132
-
| getLastNode(): ISlTreeNode | Get the last node in the tree |
130
+
| select(path: number[], addToSelection = false) | Select the node by using it's path ||
133
131
| getNodeEl(): HTMLElement | Get the node HTMLElement by using it's path |
134
132
| getSelected(): ISlTreeNode[]| Get selected nodes |
135
133
| remove(paths: number[][]) | Remove nodes by paths. For example `.remove([[0,1], [0,2]])`
134
+
| getFirstNode(): ISlTreeNode | Get the first node in the tree |
135
+
| getLastNode(): ISlTreeNode | Get the last node in the tree
136
+
| getNextNode(path: number[], filter?: (node: ISlTreeNode<TDataType>) => boolean): ISlTreeNode<TDataType>; | Get the next node. You can skip the next nodes by using `filter`
137
+
| getPrevNode(path: number[], filter?: (node: ISlTreeNode<TDataType>) => boolean): ISlTreeNode<TDataType>; | Get the previous node. You can skip the previous nodes by using `filter`
0 commit comments