[new feature] TreeSelect: add content slot (#4105)
This commit is contained in:
@@ -60,9 +60,15 @@ export default {
|
||||
|
||||
| Event | Description | Arguments |
|
||||
|------|------|------|
|
||||
| click-nav | triggered when parent node is selected | index: index of selected parent |
|
||||
| click-nav | triggered when parent node is selected | index: index of selected parent |
|
||||
| click-item | triggered when item is selected | data: selected item |
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
|------|------|
|
||||
| content | Custom right content |
|
||||
|
||||
### Data Structure of Item
|
||||
|
||||
`items` should be an array contains specified tree objects.
|
||||
|
||||
Reference in New Issue
Block a user