alert
Description
显示一个 alert 消息框
alert: (config: any) => HTMLElement
Parameters
config- (required) object - alert 框的配置设 置
Returns
div- (HTMLElement) - 包含 alert 框的 div 元素
Example
var box = scheduler.alert({
title:"Alert",
type:"alert-error",
text:"You can't do this"
});
Details
有关 alert 消息框可用配置选项的更多信息,请参阅 Popup Messages and Modal Boxes 文章。
Related API
Related Guides
Change log
- 版本 6.0 中添加
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.