2
我正在使用jstree在MVC Razor頁面中顯示信息。 jstree的代碼如下所示:JSTree上的鼠標懸停事件
$('#app_container').jstree({
'core': {
'data': {
"url": "/controller/methodname",
"data": function (node) {
return { "id": node.id, "parent":node.parent };
}
}
},
"plugins": ["sort"]
});
我想在每個節點上添加一個鼠標懸停事件,以便顯示其他信息。我看過documentation,但我不確定我必須在哪裏添加活動。