1.0.24 • Published 4 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
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.9
4 years ago
1.0.22
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago