fix issue #14, make delete node configurable

This commit is contained in:
Zhiyuan Guo
2018-12-08 15:08:43 +08:00
parent 7bc8a7a17f
commit d6826e1a24
3 changed files with 18 additions and 4 deletions

View File

@@ -99,6 +99,16 @@ export default {
Default name for new leafnode.
**onDeleteNode**
```javascript
onDeleteNode(confirm) {
if (something) {
confirm()
}
}
```
# events
**click**