【发布时间】:2016-06-28 07:11:41
【问题描述】:
我正在使用 jstree 在 MVC Razor 页面中显示信息。 jstree 的代码如下所示:
$('#app_container').jstree({
'core': {
'data': {
"url": "/controller/methodname",
"data": function (node) {
return { "id": node.id, "parent":node.parent };
}
}
},
"plugins": ["sort"]
});
我想在每个节点上添加一个鼠标悬停事件,以便显示附加信息。我看过documentation,但我不确定我必须在哪里添加事件。
【问题讨论】: