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
Hi,
Is there a way to destroy a fit.js object so I can keep things clean and save some memory? I'm using multiple calls to fit images into div containers but once I remove those images I'd like to get rid of listeners.
The text was updated successfully, but these errors were encountered:
Ok. The thing is I'm using the same container for multiple dynamic images so every time a new image is loaded and placed I would need fit.js to, well, fit that new image into the old container. So, while thinking of re-usability I messed up with the code a little, like this:
Hi,
Is there a way to destroy a fit.js object so I can keep things clean and save some memory? I'm using multiple calls to fit images into div containers but once I remove those images I'd like to get rid of listeners.
The text was updated successfully, but these errors were encountered: