跳转到主要内容

hideCover

Description

移除阻止与屏幕其他部分交互的lightbox模态覆盖层

hideCover: (box?: HTMLElement) => void

Parameters

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

Example

scheduler.hideCover(scheduler.getLightbox());

Details

当提供输入参数时,此方法通过将元素的display样式设置为"none"来隐藏指定的HTML元素。

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.