easyui树型菜单添加函数
在使用easyUI树型菜单中总是只有点击前面的图标,树型才能展开或者是关闭,通过添加js函数,点击文件夹实现树型菜单的展开和关闭。函数如下:
<ul class="easyui-tree" data-options="animate:true,onClick: function(node){$(this).tree('toggle', node.target);}">
在使用easyUI树型菜单中总是只有点击前面的图标,树型才能展开或者是关闭,通过添加js函数,点击文件夹实现树型菜单的展开和关闭。函数如下:
<ul class="easyui-tree" data-options="animate:true,onClick: function(node){$(this).tree('toggle', node.target);}">
暂无评论。
评论功能维护中,当前仅展示历史评论。