VMessages API
属性
| 名称 | 类型 | 默认值 |
|---|---|---|
| active | ||
| Determines whether the messages are visible or not. | ||
| color | ||
| Applies specified color to the control - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page . | ||
| messages | ||
| 显示消息列表或消息(如果使用字符串) | ||
| transition | ||
| Sets the component transition. Can be one of the built in or custom transition. | ||
插槽
| message |
| Slot used to customize the message content. |
SASS 变量
| 名称 | 默认值 |
|---|---|
| $messages-color | |
| $messages-font-size | |
| $messages-line-height | |
| $messages-min-height | |
| $messages-transition-duration | |