[improvement] TreeSelect: add height prop (#1905)

This commit is contained in:
neverland
2018-10-09 17:08:57 +08:00
committed by GitHub
parent ae15bbd141
commit 396819c355
7 changed files with 23 additions and 20 deletions
+2
View File
@@ -50,10 +50,12 @@ export default {
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|
| items | Required datasets for the component, see Data Structure for detail. | `Array` | `[]` |
| height | Height (px) | `Number` | `300` |
| main-Active-index | The index of selected parent node | `Number` | `0` |
| active-id | Id of selected item | `String | Number` | `0` |
#### Event
| Event | Description | Arguments |
|-----------|-----------|-----------|
| navclick | triggered when parent node is selected | index: index of selected parent |