[Doc] props title

This commit is contained in:
陈嘉涵
2019-05-03 09:37:24 +08:00
parent 921f8a88fb
commit e3cb465dc2
101 changed files with 279 additions and 283 deletions

View File

@@ -40,19 +40,19 @@ export default {
};
```
### Sidebar API
### Sidebar Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| active-key | Index of chosen item | `String | Number` | `0` |
### Sidebar Event
### Sidebar Events
| Event | Description | Arguments |
|------|------|------|
| change | Triggered when item changed | key: index of current item |
### SidebarItem API
### SidebarItem Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -60,7 +60,7 @@ export default {
| info | Info Message | `String | Number` | `''` |
| url | Link | `String` | - |
### SidebarItem Event
### SidebarItem Events
| Event | Description | Arguments |
|------|------|------|