bricks/docs/cn/widgets/message.md

35 lines
495 B
Markdown
Raw Normal View History

2024-05-14 17:14:30 +08:00
# 消息控件
一个Modal类型控件用于显示提示信息
2024-05-11 17:58:28 +08:00
2024-05-14 17:14:30 +08:00
## widgettype值
Message
2024-05-11 17:58:28 +08:00
2024-05-14 17:14:30 +08:00
## 父类
bricks.Modal
2024-05-11 17:58:28 +08:00
2024-05-14 17:14:30 +08:00
## 构建参数
* title 在标题栏上显示的内容
2024-05-11 17:58:28 +08:00
2024-05-14 17:14:30 +08:00
* message 在正文栏内显示的正文
2024-05-11 17:58:28 +08:00
2024-05-14 17:14:30 +08:00
## 方法
2024-05-11 17:58:28 +08:00
## 事件
2024-05-14 17:14:30 +08:00
无新增事件
2024-05-11 17:58:28 +08:00
2024-05-14 17:14:30 +08:00
## 例子
```
{
"id":"uuuu",
"widgettype":"Message",
"options":{
"width":"40%",
"height":"40%",
"archor":"cc",
"title":"Test Title",
"timeout":2,
"message":"This is a test message"
}
}
```