freezeframe.js is a library that pauses animated .gifs and enables them to animate on mouse hover / mouse click / touch event, or with trigger / release functions.
depending on user's viewport width, an asset that might be originally hidden from viewport, the freezeframe script will give it a width and height of 0. it would be great to be able to call some type of refresh method that correctly calculates the images dimensions if it ever becomes visible due to browser resizing.
depending on user's viewport width, an asset that might be originally hidden from viewport, the freezeframe script will give it a width and height of 0. it would be great to be able to call some type of refresh method that correctly calculates the images dimensions if it ever becomes visible due to browser resizing.