All Projects → TinyWisp → twtree

TinyWisp / twtree

Licence: MIT license
a highly customizable tree component for vue 2

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to twtree

React Menu
React component for building accessible menu, dropdown, submenu, context menu and more.
Stars: ✭ 237 (+777.78%)
Mutual labels:  checkbox, contextmenu
Jspanel4
A JavaScript library to create highly configurable floating panels, modals, tooltips, hints/notifiers/alerts or contextmenus for use in backend solutions and other web applications.
Stars: ✭ 217 (+703.7%)
Mutual labels:  contextmenu, draggable
he-tree-vue
A draggable sortable vue tree component, with dragging placeholder, types definition.
Stars: ✭ 123 (+355.56%)
Mutual labels:  draggable, vue-tree
Angular Draggable Mat Tree
Example implementation of drag and drop on Angular Material Tree
Stars: ✭ 47 (+74.07%)
Mutual labels:  tree, draggable
Gijgo
Gijgo - Free Javascript Controls
Stars: ✭ 424 (+1470.37%)
Mutual labels:  tree, draggable
vue-sortable-tree
vue tree draggable, drag item sort
Stars: ✭ 87 (+222.22%)
Mutual labels:  tree, draggable
jsPanel3
A jQuery Plugin to create highly configurable floating panels, modals, tooltips, hints/notifiers or contextmenus for use in a backend solution and other web applications.
Stars: ✭ 89 (+229.63%)
Mutual labels:  contextmenu, draggable
Ngx Treeview
An Angular treeview component with checkbox
Stars: ✭ 312 (+1055.56%)
Mutual labels:  tree, checkbox
React Ui Tree
React tree component with drag & drop
Stars: ✭ 720 (+2566.67%)
Mutual labels:  tree, draggable
vue2-data-tree
A tree that data is lazy loaded. Support dragging node, checking node, editing node's name and selecting node.
Stars: ✭ 41 (+51.85%)
Mutual labels:  tree, draggable
Tree-Style-History
Not only show browser history in tree style. 不止用树状形式展示浏览器历史 (For Edge / Chromium / Chrome)
Stars: ✭ 124 (+359.26%)
Mutual labels:  tree
Unity-Visual-Behavior-Tree
Reactive Visual Scripting Behavior Tree Tool for Unity 2018.x+
Stars: ✭ 36 (+33.33%)
Mutual labels:  tree
Algorithm-Data-Structures-Python
Various useful data structures in Python
Stars: ✭ 34 (+25.93%)
Mutual labels:  tree
InterviewBit
Collection of solution for problems on InterviewBit
Stars: ✭ 77 (+185.19%)
Mutual labels:  tree
scalable-concurrent-containers
High performance containers and utilities for concurrent and asynchronous programming
Stars: ✭ 101 (+274.07%)
Mutual labels:  tree
ds
🔗 Common Data Structures and Algorithms
Stars: ✭ 40 (+48.15%)
Mutual labels:  tree
react-web-editor
The react-web-editor is a WYSIWYG editor library. you can resize and drag your component. It also has simple rich text editor
Stars: ✭ 191 (+607.41%)
Mutual labels:  draggable
qing
🍧一个UI组件库。包括 { 日期选择器组件 } { 时间选择器组件 } { 分页组件 } { 树组件 } { 级联选择器组件 } { 表单组件 } 等,ES6语法编写,原生模块化
Stars: ✭ 71 (+162.96%)
Mutual labels:  tree
md-file-tree
Generate markdown list of all the files in a directory. Now also with emoji 📂 📄
Stars: ✭ 130 (+381.48%)
Mutual labels:  tree
ddrt
An elixir implementation of Rtree, optimized for fast updates.
Stars: ✭ 38 (+40.74%)
Mutual labels:  tree

TWTree

GitHub npm codecov Travis (.org)

基于vue的树形组件。

A highly customizable tree component for vue.

主要特色

  • 支持复选框
  • 可异步加载
  • 拖放操作
  • 右键菜单
  • 按钮
  • 自定义外观

文档

开始使用

npm

  npm install twtree --save

引入

  import TWTree from 'twtree'

示例

<template>
 <div id="app">
   <TWTree :tree="tree" ref="tree" class="tree" />
 </div>
</template>

<script>
import TWTree from 'twtree'

export default {
 name: 'App',
 components: {
   TWTree
 },
 data() {
   return {
     tree: [
       {
         id: 1,
         title: 'ROOT',
         hasChild: true,
         children: [
           {
             id: 2,
             title: 'child 1',
           },
           {
             id: 3,
             title: 'child 2',
             hasChild: true,
             children: [
               {
                 id: 4,
                 title: 'child 2-1'
               },
               {
                 id: 5,
                 title: 'child 2-2'
               },
               {
                 id: 6,
                 title: 'child 2-3'
               }
             ],
           },
           {
             id: 7,
             title: 'child 3'
           },
           {
             id: 8,
             title: 'child 4'
           }
         ]
       }
     ]
   }
 }
}
</script>

<style scoped>
.tree {
 width: 200px;
 height: 300px;
}
</style>

示例

开源协议

  • MIT
  • 无论个人还是公司,都可以免费自由使用

vue3


Features

  • checkbox
  • async loading
  • drag and drop
  • context menu
  • button
  • customizable appearance

Getting Started

npm

  npm install twtree --save

import the library

  import TWTree from 'twtree'

usage

<template>
 <div id="app">
   <TWTree :tree="tree" ref="tree" class="tree" />
 </div>
</template>

<script>
import TWTree from 'twtree'

export default {
 name: 'App',
 components: {
   TWTree
 },
 data() {
   return {
     tree: [
       {
         id: 1,
         title: 'ROOT',
         hasChild: true,
         children: [
           {
             id: 2,
             title: 'child 1',
           },
           {
             id: 3,
             title: 'child 2',
             hasChild: true,
             children: [
               {
                 id: 4,
                 title: 'child 2-1'
               },
               {
                 id: 5,
                 title: 'child 2-2'
               },
               {
                 id: 6,
                 title: 'child 2-3'
               }
             ],
           },
           {
             id: 7,
             title: 'child 3'
           },
           {
             id: 8,
             title: 'child 4'
           }
         ]
       }
     ]
   }
 }
}
</script>

<style scoped>
.tree {
 width: 200px;
 height: 300px;
}
</style>

Document

Demos

License

  • MIT
  • it is free for commercial use.

vue 3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].