reqair docs (#3006)

This commit is contained in:
Aimer
2019-03-20 11:52:44 +08:00
committed by neverland
parent 09bc2b3f25
commit a156e1b914
12 changed files with 26 additions and 12 deletions
+7
View File
@@ -51,6 +51,7 @@ Vue.use(NoticeBar);
| Attribute | Description | Type | Default |
|------|------|------|------|
| mode | Mode, can be set to `closeable` `link` | `String` | `''` |
| text | Notice text content | `String` | `''` | - |
| delay | Animation delay (s) | `Number` | `1` |
| speed | Scroll speed (px/s) | `Number` | `50` |
| scrollable | Whether to scroll content | `Boolean` | `true` |
@@ -65,3 +66,9 @@ Vue.use(NoticeBar);
|------|------|------|
| click | Triggered when click NoticeBar | - |
| click | Triggered when closed | - |
### Slot
| Name | Description |
|------|------|
| - | Notice text content
+7
View File
@@ -59,6 +59,7 @@ Vue.use(NoticeBar);
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| mode | 通告栏模式,可选值为 `closeable` `link` | `String` | `''` | - |
| text | 通告文本内容 | `String` | `''` | - |
| delay | 动画延迟时间 (s) | `Number` | `1` | - |
| speed | 滚动速率 (px/s) | `Number` | `50` | - |
| scrollable | 是否在长度溢出时滚动播放 | `Boolean` | `true` | - |
@@ -73,3 +74,9 @@ Vue.use(NoticeBar);
|------|------|------|
| click | 点击时触发 | - |
| close | 关闭时触发 | - |
### Slot
| 名称 | 内容 |
|------|------|
| - | 通告文本内容