# vue-wpg-tree
**Repository Path**: interation/vue-wpg-tree
## Basic Information
- **Project Name**: vue-wpg-tree
- **Description**: 基于vue2实现的树组件,灵活支持格式化节点
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-12-02
- **Last Updated**: 2022-09-09
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# VueWpgTree
## API
### tree props
| name |
type |
default |
description |
| checkable |
Boolean |
false |
is or not cheackAble |
| checkedkeys |
Arrary |
|
checkedItem |
| source |
Arrary |
|
tree data |
| dropkeys |
Arrary |
|
droped item |
| selectedkeys |
Arrary |
|
selected item |
| renderContent |
function(create,node) |
|
add tree content with jsx |
| renderNodeContent |
function(create,node) |
|
add node content with jsx |
### tree events
| name |
type |
default |
description |
| select |
function(node) |
|
called when select node and you should set selected item |
| menudrop |
function(key) |
|
called when collapse node parent and you should set droped keys |
| nodeCheck |
function(Obj) |
|
called when check node parent and you should set checkedkeys |