holiber / sl-vue-tree

Customizable draggable tree component for Vue.js
https://holiber.github.io/sl-vue-tree/
MIT License
345 stars 78 forks source link

Add support for removing all selected nodes directly. #88

Open mjamro opened 4 years ago

mjamro commented 4 years ago

Add a method for removing of selected nodes.

Current syntax:

var paths = this.$refs.tree.getSelected().map(m => m.path);
this.$refs.tree.remove(paths);

After changes

this.$refs.tree.removeSelected();
mjamro commented 3 years ago

Any chance on merging that?