feat(NoticeBar): speed can be string

This commit is contained in:
陈嘉涵
2020-01-29 15:18:01 +08:00
parent b32705cf93
commit bb5f28e10e
3 changed files with 15 additions and 15 deletions
+5 -5
View File
@@ -65,13 +65,13 @@ Vue.use(NoticeBar);
|------|------|------|------|
| 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` |
| wrapable | Whether to enable text wrap | *boolean* | `false` | - |
| left-icon | Left Icon | *string* | - |
| color | Text color | *string* | `#f60` |
| background | Background color | *string* | `#fff7cc` |
| left-icon | Left Icon | *string* | - |
| delay | Animation delay (s) | *number \| string* | `1` |
| speed | Scroll speed (px/s) | *number \| string* | `50` |
| scrollable | Whether to scroll content | *boolean* | `true` |
| wrapable | Whether to enable text wrap | *boolean* | `false` | - |
### Events