当前位置: 首页 > 文档资料 > jsTree 中文文档 >

Conditionalselect 插件

优质
小牛编辑
142浏览
2023-12-01

该插件允许定义回调,以允许或拒绝用户输入的节点选择(激活节点方法)。

$.jstree.defaults.checkbox.visible checkbox plugin

a callback (function) which is invoked in the instance's scope and receives two arguments - the node and the event that triggered the activate_node call. Returning false prevents working with the node, returning true allows invoking activate_node. Defaults to returning true.