[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
+3 -3
View File
@@ -46,7 +46,7 @@ Vue.use(NoticeBar);
</van-notice-bar>
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -60,14 +60,14 @@ Vue.use(NoticeBar);
| color | Text color | `String` | `#f60` |
| background | Background color | `String` | `#fff7cc` |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
| click | Triggered when click NoticeBar | - |
| close | Triggered when closed | - |
### Slot
### Slots
| Name | Description |
|------|------|
+3 -3
View File
@@ -54,7 +54,7 @@ Vue.use(NoticeBar);
</van-notice-bar>
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -68,14 +68,14 @@ Vue.use(NoticeBar);
| color | 文本颜色 | `String` | `#f60` | - |
| background | 滚动条背景 | `String` | `#fff7cc` | - |
### Event
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| click | 点击时触发 | - |
| close | 关闭时触发 | - |
### Slot
### Slots
| 名称 | 内容 |
|------|------|