1.0.24 • Published 4 years ago

webpagelovers-tree v1.0.24

Weekly downloads
100
License
-
Repository
-
Last release
4 years ago

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自定义 classString
computeType计算节点的方式Stringdefaultjust-check-oneonly-check-onejust-check-childjust-check-all-childjust-disable-childdefault

Events

事件说明参数
check点击 checkBoxitem - 返回当前节点
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