Skip to content

Commit bc3d516

Browse files
committed
fix: READMEx
1 parent 9a8f968 commit bc3d516

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Tree component based on Vue implementation
22

3+
* Support drag, check, multiple check, bigData virtual scroll, lazy load, checkStrictly, add and delete node, etc.
4+
35
## Simple usage
46
```bash
57
npm install light-vue-tree
@@ -46,6 +48,8 @@ export default {
4648

4749
* Big data list with high render performance and efficient.
4850

51+
* Can Customize following components (e.g. checkbox, expand icon, loading)
52+
4953

5054
## Api
5155

@@ -76,6 +80,13 @@ Property | Type | Description | Params
7680
on-checked-item | function | Callback function for when the user check node | function({ node, vNode })
7781
on-checked-change | function | Callback function for when checkbox change |function({ node, selectedData })
7882

83+
Scoped Slot
84+
85+
name | Description
86+
-- | --
87+
loading | customize loading component, params`({loading})`
88+
check | customize check component, params`({handleClickCheckBox, selectToggle, node})`
89+
expandIcon | customize expand icon and unexpanded icon, params`({ expanded, toggleFoldCb: toggleFold })`
7990

8091
## Contributions
8192

0 commit comments

Comments
 (0)