跳到主要内容

showCover

Description

显示 lightbox 模态覆盖层,阻止与屏幕其他部分的交互

showCover: (box?: HTMLElement) => void

Parameters

  • box - (optional) HTMLElement - 一个要隐藏的元素

Example

gantt.showCover();

Details

如果指定输入参数,该方法将显示指定的 HTML 对象元素(通过将 display 属性设为 "block")并在屏幕中央显示。

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.