Destroying objects
Levi Kovacs avatar
Written by Levi Kovacs
Updated over a week ago

Manually destroying instances is not needed under normal circumstances. The garbage collector takes care of this automatically. There are some situations though where you want to call destroy on an instance to free up memory.

For destroying mobiscroll objects you can call the method on the instance, which returns the element back to its pre-init state.

Did this answer your question?