1.0.24 • Published 6 years ago

webpagelovers-tree v1.0.24

Weekly downloads
100
License
-
Repository
-
Last release
6 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

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