File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,12 @@ class Widget extends React.Component {
92
92
| ` nodes ` | array | ** Required** . Specifies the tree nodes and their children. | |
93
93
| ` checked ` | array | An array of checked node values. | ` [] ` |
94
94
| ` expanded ` | array | An array of expanded node values. | ` [] ` |
95
- | ` onCheck ` | function | onCheck handler: ` function(checked) {} ` | ` () => {} ` |
96
- | ` onExpand ` | function | onExpand handler: ` function(expanded) {} ` | ` () => {} ` |
97
95
| ` name ` | string | Optional name for the hidden ` <input> ` element. | ` undefined ` |
98
96
| ` nameAsArray ` | bool | If true, the hidden ` <input> ` will encode its values as an array rather than a joined string. | ` false ` |
99
97
| ` optimisticToggle ` | bool | If true, toggling a partially-checked node will select all children. If false, it will deselect. | ` true ` |
100
98
| ` showNodeIcon ` | bool | If true, each node will show a parent or leaf icon. | ` true ` |
99
+ | ` onCheck ` | function | onCheck handler: ` function(checked) {} ` | ` () => {} ` |
100
+ | ` onExpand ` | function | onExpand handler: ` function(expanded) {} ` | ` () => {} ` |
101
101
102
102
#### Node Properties
103
103
You can’t perform that action at this time.
0 commit comments