跳转到主要内容

message

Description

打开一个指定类型的 message box

message: (config: any) => HTMLElement

Parameters

  • config - (required) object - message box 的配置设置

Returns

  • div - (HTMLElement) - 包含 message box 的 div 元素

Example

var box = scheduler.message({ 
type:"confirm-warning",
text:"Are you sure you want to do it?"
});

Details

有关 message box 可用配置选项的更多信息,请参见 Popup Messages and Modal Boxes 文章。

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.