JQuery/JS插件 jstree 添加点击事件

 

原文:https://blog.csdn.net/rickykay/article/details/51073026

 

Code:

//点击事件
$('#plugins1').bind("activate_node.jstree", function (obj, e) {                
    var currentNode = e.node;
    console.log(currentNode.original);
});

 

 

官方api:

  

 

posted @ 2020-03-12 14:13  古兴越  阅读(1544)  评论(0编辑  收藏  举报