alert

显示一个 alert 消息框

HTMLElement alert(object config);
configobjectalert 框的配置设置
HTMLElement包含 alert 框的 div 元素

Example

var box = scheduler.alert({
    title:"Alert",
    type:"alert-error",
    text:"You can't do this"
});

Details

有关 alert 消息框可用配置选项的更多信息,请参阅 弹出消息与模态框 文章。

See also
Change log

版本 6.0 中添加

返回顶部