代码之家  ›  专栏  ›  技术社区  ›  Amir Rossert

向引导树视图插件添加动画

  •  0
  • Amir Rossert  · 技术社区  · 10 年前

    我正在使用此插件 bootstrap-treeview 它工作得很好,但它缺少的一点是在展开/折叠父节点时的动画。

    有人能告诉我如何为这个漂亮的插件添加动画吗?

    1 回复  |  直到 9 年前
        1
  •  0
  •   ZooZ    9 年前

    它不起作用,因为代码是在不支持动画的地方编写的。 我建议使用另一个树插件,比如这个: http://nickperkinslondon.github.io/angular-bootstrap-nav-tree/test/bs3_ng120_test_page.html

    http://www.jqueryscript.net/layout/Nice-Tree-View-Plugin-with-jQuery-Bootstrap-3-Easy-Tree.html

    两者都支持jquery和bootstrap。

    祝你好运