keep-alive / vue-wpg-tree

a tree compontent for vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

a tree compontent for vue


Languages

Language:Vue 75.1%Language:JavaScript 24.2%Language:HTML 0.8%