-
布局
-
表单
-
通知
-
导航
-
其它
消息 KLMessage
基本属性type
type设置样式,取值success、warning、notice、error。默认不设置则无色无图标。
|
基本属性class
class属性设置补充样式
|
直接插入模版
|
有title属性的模式
设置title属性后得样式
|
API
KLMessage
KLMessage
| Param | Type | Description |
|---|---|---|
| [options.data] | object |
= 绑定属性 |
| [options.data.type] | string |
=> 消息类型,可选参数:success、warning、notice、error |
| [options.data.class] | string |
=> 补充class |
| [options.data.title] | string |
=> 补充title |
| [options.data.addClose] | string |
=> 补充addClose 添加了该字段, 为message添加了关闭按钮 |
想让文档更完善?
来 GitHub 提个 PR 吧!