|
@@ -1174,7 +1174,8 @@ You can drag and drop Tree nodes by adding a `draggable` attribute.
|
|
|
| render-content | render function for tree node | Function(h, { node, data, store } | — | — |
|
|
|
| highlight-current | whether current node is highlighted | boolean | — | false |
|
|
|
| default-expand-all | whether to expand all nodes by default | boolean | — | false |
|
|
|
-| expand-on-click-node | whether to expand or collapse node when clicking on the node, if false, then expand or collapse node only when clicking on the arrow icon. | — | true | |
|
|
|
+| expand-on-click-node | whether to expand or collapse node when clicking on the node, if false, then expand or collapse node only when clicking on the arrow icon. | boolean | — | true |
|
|
|
+| check-on-click-node | whether to check or uncheck node when clicking on the node, if false, the node can only be checked or unchecked by clicking on the checkbox. | boolean | — | false |
|
|
|
| auto-expand-parent | whether to expand father node when a child node is expanded | boolean | — | true |
|
|
|
| default-expanded-keys | array of keys of initially expanded nodes | array | — | — |
|
|
|
| show-checkbox | whether node is selectable | boolean | — | false |
|