startLightbox
Description
Shows a custom lightbox in the specified HTML container centered on the screen
startLightbox: (id: string, box: HTMLElement) => void
Parameters
id- (required) string - the event's idbox- (required) HTMLElement - the lightbox's HTML container
Example
<div id="my_form">
...
</div>
<script>
scheduler.showLightbox = function(id) {
scheduler.startLightbox(id, document.getElementById("my_form"));
...
};
</script>
Related samples
Details
To hide a custom lightbox you can use the endLightbox method.
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.