|
54266 | 54266 | "returnType": "void", |
54267 | 54267 | "description": "Used to hide the overlay." |
54268 | 54268 | }, |
| 54269 | + { |
| 54270 | + "name": "onNodeClick", |
| 54271 | + "parameters": [ |
| 54272 | + { |
| 54273 | + "name": "event", |
| 54274 | + "optional": false, |
| 54275 | + "type": "TreeSelectNodeClickEvent", |
| 54276 | + "description": "Custom click event." |
| 54277 | + } |
| 54278 | + ], |
| 54279 | + "returnType": "void", |
| 54280 | + "description": "Callback to invoke when the node is clicked." |
| 54281 | + }, |
54269 | 54282 | { |
54270 | 54283 | "name": "onNodeCollapse", |
54271 | 54284 | "parameters": [ |
|
54279 | 54292 | "returnType": "void", |
54280 | 54293 | "description": "Callback to invoke when a node is collapsed." |
54281 | 54294 | }, |
| 54295 | + { |
| 54296 | + "name": "onNodeDoubleClick", |
| 54297 | + "parameters": [ |
| 54298 | + { |
| 54299 | + "name": "event", |
| 54300 | + "optional": false, |
| 54301 | + "type": "TreeSelectNodeDoubleClickEvent", |
| 54302 | + "description": "Custom doubleclick event." |
| 54303 | + } |
| 54304 | + ], |
| 54305 | + "returnType": "void", |
| 54306 | + "description": "Callback to invoke when the node is double-clicked." |
| 54307 | + }, |
54282 | 54308 | { |
54283 | 54309 | "name": "onNodeExpand", |
54284 | 54310 | "parameters": [ |
|
54433 | 54459 | "description": "The filtered value" |
54434 | 54460 | } |
54435 | 54461 | ] |
| 54462 | + }, |
| 54463 | + "TreeSelectNodeDoubleClickEvent": { |
| 54464 | + "description": "Custom double click event.", |
| 54465 | + "relatedProp": "onNodeDoubleClick", |
| 54466 | + "props": [ |
| 54467 | + { |
| 54468 | + "name": "originalEvent", |
| 54469 | + "optional": false, |
| 54470 | + "readonly": false, |
| 54471 | + "type": "SyntheticEvent<Element, Event>", |
| 54472 | + "description": "Browser event" |
| 54473 | + }, |
| 54474 | + { |
| 54475 | + "name": "node", |
| 54476 | + "optional": false, |
| 54477 | + "readonly": false, |
| 54478 | + "type": "TreeNode", |
| 54479 | + "description": "The current node" |
| 54480 | + } |
| 54481 | + ] |
54436 | 54482 | } |
54437 | 54483 | } |
54438 | 54484 | }, |
|
54900 | 54946 | } |
54901 | 54947 | ], |
54902 | 54948 | "callbacks": [] |
| 54949 | + }, |
| 54950 | + "TreeSelectNodeClickEvent": { |
| 54951 | + "description": "Custom click event", |
| 54952 | + "relatedProp": "onNodeClick", |
| 54953 | + "props": [ |
| 54954 | + { |
| 54955 | + "name": "originalEvent", |
| 54956 | + "optional": false, |
| 54957 | + "readonly": false, |
| 54958 | + "type": "SyntheticEvent<Element, Event>", |
| 54959 | + "description": "Browser event" |
| 54960 | + }, |
| 54961 | + { |
| 54962 | + "name": "node", |
| 54963 | + "optional": false, |
| 54964 | + "readonly": false, |
| 54965 | + "type": "TreeNode", |
| 54966 | + "description": "The current node" |
| 54967 | + } |
| 54968 | + ], |
| 54969 | + "callbacks": [], |
| 54970 | + "extendedBy": "TreeSelectNodeDoubleClickEvent" |
54903 | 54971 | } |
54904 | 54972 | } |
54905 | 54973 | }, |
|
0 commit comments