endLightbox
Description
Closes the lightbox
endLightbox: (mode: boolean, box?: HTMLElement) => void
Parameters
mode- (required) boolean - if set to true, the changes, made in the lightbox, will be saved before closing.
If - false, the changes will be cancelled.box- (optional) HTMLElement - the HTML container for the lightbox
Example
scheduler.endLightbox(false);
//or
scheduler.endLightbox(true, document.getElementById("my_form"));
Related samples
Details
note
The method is used while creating a custom lightbox
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.