1.0.24 • Published 5 years ago

webpagelovers-tree v1.0.24

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

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.9

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago