[Doc] use ts-style type
This commit is contained in:
@@ -65,15 +65,15 @@ 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` |
|
||||
| wrapable | Whether to enable text wrap | `Boolean` | `false` | - |
|
||||
| left-icon | Left Icon | `String` | - |
|
||||
| color | Text color | `String` | `#f60` |
|
||||
| background | Background color | `String` | `#fff7cc` |
|
||||
| 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` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user