afterLazyImageHasLoadedStack.forEach { functionToCall } ) } Binding executer to callback when image loaded trigger $ .ready { if ( typeof window.
afterLazyImageHasLoadedStack.push } } ) Reloading images with naturalWidth and naturalHeight jQuery { $ .ready { window.
afterLazyImageHasLoadedStack.push { imgNat = document.
getAttribute ) } if ( element.
getAttribute ) } imgNat.
jQuery.length > 0 ) { $ .replaceWith ) } else { element.
parentNode.replaceChild } } } ) } ) } ).
As well I had written code for rapplication, with created in js and replacing with it existing one.
Read more