1.0.24 • Published 6 years ago
webpagelovers-tree v1.0.24
Description
This is a Vue component for selecting tree data nodes
Install
npm install webpagelovers-tree
Use
# In main.js
import WlTree from 'webpagelovers-tree'
Vue.use(WlTree)
# In *.vue
<wl-tree></wl-tree>
Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
data | 展示数据 | Object | ||
className | 自定义 class | String | ||
computeType | 计算节点的方式 | String | defaultjust-check-oneonly-check-onejust-check-childjust-check-all-childjust-disable-child | default |
Events
事件 | 说明 | 参数 |
---|---|---|
check | 点击 checkBox | item - 返回当前节点 |
arrow-toggle | 切换箭头 | item - 返回当前节点 |
title-click | 点击标题 | item - 返回当前节点 |
change | 监听被选中节点 | item/items - 返回被选中的节点 |
1.0.19
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.9
6 years ago
1.0.22
6 years ago
1.0.21
6 years ago
1.0.20
6 years ago
1.0.24
6 years ago
1.0.23
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago