最好的开源 JavaScript 树?

发布于 2024-08-13 17:28:39 字数 441 浏览 5 评论 0原文

您能否提出开源但商业友好的许可(非 GPL) Javascript 树?

请考虑到我需要它用于现有的 Web 应用程序,因此我不确定其他工具(例如 GWT 或 Echo)是否合适。

我已经检查过:

  • Dojo Tree
  • jQuery.Dynatree.js (JQuery)
  • JSTree (JQuery)
  • Mif.Tree (Mootools)
  • YUI Tree (Yahoo User Interface)

我已经排除了 DHTMLX 和 ExtJS (都是 GPL,它们要求整个项目是GPL)。

预先感谢您的建议!

更新: 这个问题很老了,上面的列表不应再考虑。我确信现在有更多更好的选择。

Could you propose open source, but commercial-friendly licensed (non-GPL) Javascript trees?

Please take into account that I need it for an existing Web application, so I am not sure whether other tools such as GWT or Echo would be appropriate.

I have already checked:

  • Dojo Tree
  • jQuery.Dynatree.js (JQuery)
  • JSTree (JQuery)
  • Mif.Tree (Mootools)
  • YUI Tree (Yahoo User Interface)

I have ruled out DHTMLX and ExtJS (both GPL, they require the whole project to be GPLed).

Thanks in advance for your suggestions!

UPDATE:
This question is old, the above list should no longer be taken into account. I'm sure there are more and better alternatives now.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

兮子 2024-08-20 17:28:39

jsTree 似乎最好。

  • 开源:MIT 许可证
  • 功能:延迟加载、上下文菜单、键盘导航、拖拽放置、内联编辑、可定制、CDN 托管。
  • Stackoverflow 有 2,045 个问题已标记
    jsTree.com
  • 的 Alexa 页面排名优于其他

其他竞争者:

  1. Fancytree(升级版Dynatree)
  2. zTree

jsTree seems best.

  • Open source: MIT license
  • Features: lazy loading, context-menu, keyboard navigation, drag & drop, inline editing, customizable, CDN hosted.
  • Stackoverflow has 2,045 questions tagged
    with jsTree
  • Alexa page rank of jstree.com is better than others

Other close contenders:

  1. Fancytree (upgraded version of Dynatree)
  2. zTree
方圜几里 2024-08-20 17:28:39

我写了这个组件:
https://github.com/u1ui/tree1.el

很简单:

<link href="https://cdn.jsdelivr.net/gh/u1ui/[email protected]/tree1.min.css" rel=stylesheet>
<script src="https://cdn.jsdelivr.net/gh/u1ui/[email protected]/tree1.min.js" type=module></script>


<u1-tree1 aria-expanded=true>root
    <u1-tree1>Folder 1
        <u1-tree1>File 1.1</u1-tree1>
    </u1-tree1>
    <u1-tree1>Folder 3
        <u1-tree1>File 3.1</u1-tree1>
        <u1-tree1>File 3.2</u1-tree1>
    </u1-tree1>
</u1-tree1>

I wrote this component:
https://github.com/u1ui/tree1.el

Its easy as:

<link href="https://cdn.jsdelivr.net/gh/u1ui/[email protected]/tree1.min.css" rel=stylesheet>
<script src="https://cdn.jsdelivr.net/gh/u1ui/[email protected]/tree1.min.js" type=module></script>


<u1-tree1 aria-expanded=true>root
    <u1-tree1>Folder 1
        <u1-tree1>File 1.1</u1-tree1>
    </u1-tree1>
    <u1-tree1>Folder 3
        <u1-tree1>File 3.1</u1-tree1>
        <u1-tree1>File 3.2</u1-tree1>
    </u1-tree1>
</u1-tree1>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文