Vue树 (vue-trees)
a tree UI base on vue 2.X.
基于vue 2.X的树形UI。
安装 (install)
npm install vue-trees --save
or
cnpm i vue-trees -S
快速开始 (Quick start)
import Vue from 'vue'
import vueTrees from 'vue-trees'
Vue.use(vueTrees)
API文档 (API DOC)
数据属性 (data Property)
The data property does not support properties inherited from the prototype chain (if you can use to consider whether the under-complex, it is recommended to check the code)
data属性不支持从原型链继承的属性(如果可以用来考虑是否欠复杂,建议检查代码)
Param | Description | Types | Editable | Default value |
---|---|---|---|---|
title | Node name | String | - | — |
expanded | Whether the node is expanded | Boolean | Y | false |
checked | Node check box is selected | Boolean | Y | false |
参数 | 描述 < |
---|