跳转到主要内容

modalbox

Description​

打开一个 modalbox

modalbox: (config: any) => HTMLElement

Parameters​

  • config - (required) object - modalbox 的设置参数

Returns​

  • div - (HTMLElement) - 包含 modalbox 的 div 元素

Example​

const box = scheduler.modalbox({
title: "Close",
type: "alert-warning"
});

Details​

关于 modalbox 可用配置选项的更多信息,请参阅 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.