永发信息网

提问:jstree有什么全部折叠的方法吗?

答案:1  悬赏:50  手机版
解决时间 2021-11-26 04:22
  • 提问者网友:沉默菋噵
  • 2021-11-26 00:38
提问:jstree有什么全部折叠的方法吗?
最佳答案
  • 五星知识达人网友:由着我着迷
  • 2021-11-26 00:49
使用close_all方法。请参考文档如下。
close_all ([obj, animation])
closes all nodes within a node (or the tree), revaling their children
    obj
    mixed the node to close recursively, omit to close all nodes in the tree
    animation
    Number the animation duration in milliseconds when closing the nodes, the default is no animation
    Triggers
    close_all.jstree
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯