startLightbox
Description
Показывает настраиваемый lightbox внутри указанного HTML-контейнера, центрированный по экрану
startLightbox: (id: string, box: HTMLElement) => void
Parameters
id- (required) string - идентификатор событияbox- (required) HTMLElement - HTML-контейнер lightbox
Example
<div id="my_form">
...
</div>
<script>
scheduler.showLightbox = function(id) {
scheduler.startLightbox(id, document.getElementById("my_form"));
...
};
</script>
Related samples
Details
Чтобы скрыть настраиваемый lightbox, можно использовать метод endLightbox.
Related API
Related Guides
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.