Merge branch 'master' of github.com:tinper-bee/bee-tree

This commit is contained in:
wanghaoo 2019-01-14 14:21:46 +08:00
commit ccc7441e2d
2 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,7 @@ onDragLeave|当拖拽离开触发的方法|function({event,node})|-
onDragEnd当拖拽结束触发的方法|function({event,node})|-
onDrop|当节点放下触发方法function({event, node, dragNode, dragNodesKeys})|-
onDoubleClick|当双击发生触发的方法|function(checkedKeys, e:{node, event})|-
Children|必填TreeNode组件|node|-
## TreeNode
|参数|说明|类型|默认值|
@ -131,6 +132,7 @@ titleClass|名称类名|String|-
titleStyle|名称样式|Object|-
switcherClass|switcher类名|String|-
switcherStyle|switcher样式|Object|-
Children|TreeNode组件/无|node|-
## 快捷键API

View File

@ -38,6 +38,7 @@
|onDoubleClick|当双击发生触发的方法|function(checkedKeys, e:{node, event})|-
|focusable|是否开启快捷键功能使用Tab 键导航获取焦点↓↑选中下、上一个节点,→←展开或者收起一个节点,enter键为节点双击事件|bool|-
|tabIndexValue|节点获取焦点时自定义tabIndex的值|Number|0
|Children|必填TreeNode组件|node|-
## TreeNode
|参数|说明|类型|默认值|
@ -51,6 +52,7 @@
|titleStyle|名称样式|Object|-
|switcherClass|switcher类名|String|-
|switcherStyle|switcher样式|Object|-
|Children|TreeNode组件/无|node|-