该插件为 changed.jstree
事件添加了更多信息。新数据包含在changed
事件数据属性中,并包含 selected
和 deselected
节点的列表。
changed.jstree Event
changed plugin
选择更改时触发 (the "changed" plugin enhances the original event with more data)
node
Object
action
Object
selected
Array
changed
Object
selected
and deselected
- both arrays of node IDs, which were selected or deselected since the last changed eventevent
Object