diff --git a/src/sl-vue-tree.d.ts b/src/sl-vue-tree.d.ts index 7704f57..64efcf6 100644 --- a/src/sl-vue-tree.d.ts +++ b/src/sl-vue-tree.d.ts @@ -50,4 +50,6 @@ export default class SlVueTree extends Vue { traverse(cb: (node: ISlTreeNode, nodeModel: ISlTreeNodeModel, siblings: ISlTreeNodeModel[]) => boolean | void, nodeModels?: ISlTreeNodeModel[], parentPath?: number[]): ISlTreeNode[] | boolean; getNodeEl(path: number[]): HTMLElement; select(path: number[], addToSelection?: boolean): ISlTreeNode; + insert(cursorPosition : ICursorPosition, nodeModel : ISlTreeNodeModel) : void; + remove(paths: number[][]) : void; }