Open tsummerall opened 4 years ago
I have a use case where I want to allow users to create and destroy multiple flipclocks on a page.
Is there an approved way to unmount a running flipclock, stopping the timeout functions and triggering whatever other garbage collection is necessary?
I would also like to know.
There is a stop() function associated with each timer instance
I have a use case where I want to allow users to create and destroy multiple flipclocks on a page.
Is there an approved way to unmount a running flipclock, stopping the timeout functions and triggering whatever other garbage collection is necessary?