mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 20:58:22 +08:00
docs: [tree] fix node-click parameter description (#9614)
This commit is contained in:
parent
b6bec165e9
commit
9be30f9127
@ -181,7 +181,7 @@ tree/draggable
|
||||
|
||||
| Event Name | Description | Parameters |
|
||||
| ---------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| node-click | triggers when a node is clicked | three parameters: node object corresponding to the node clicked, `node` property of TreeNode, TreeNode itself, event object |
|
||||
| node-click | triggers when a node is clicked | four parameters: node object corresponding to the node clicked, `node` property of TreeNode, TreeNode itself, event object |
|
||||
| node-contextmenu | triggers when a node is clicked by right button | four parameters: event, node object corresponding to the node clicked, `node` property of TreeNode, TreeNode itself |
|
||||
| check-change | triggers when the selected state of the node changes | three parameters: node object corresponding to the node whose selected state is changed, whether the node is selected, whether node's subtree has selected nodes |
|
||||
| check | triggers after clicking the checkbox of a node | two parameters: node object corresponding to the node that is checked / unchecked, tree checked status object which has four props: checkedNodes, checkedKeys, halfCheckedNodes, halfCheckedKeys |
|
||||
|
Loading…
Reference in New Issue
Block a user