You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was curious if there was a public API for removing the generated calendar markup from the DOM once the instance isn't needed anymore (for example, in single page applications, where instances of Kalendae and Kalendae.Input are created dynamically).
The text was updated successfully, but these errors were encountered:
There is not currently, but you can get ahold of the calendar element by storing the .container property. As long as you've destroy the stored calendar reference and the input it's attached to, it should be perfectly fine to delete that element.
I'll leave this open as a reminder to create a destroy() function.
I was curious if there was a public API for removing the generated calendar markup from the DOM once the instance isn't needed anymore (for example, in single page applications, where instances of Kalendae and Kalendae.Input are created dynamically).
The text was updated successfully, but these errors were encountered: