Перейти к основному содержимому

showCover

Description

Показывает lightbox модальный оверлей, который блокирует взаимодействие с остальной частью экрана

showCover: (box?: HTMLElement) => void

Parameters

  • box - (optional) HTMLElement - элемент, который нужно показать

Example

scheduler.hideCover();
...
scheduler.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.