dinbror / blazy

Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
http://dinbror.dk/blazy
MIT License
2.63k stars 355 forks source link

custom event #150

Open antoniocarboni opened 7 years ago

antoniocarboni commented 7 years ago

Is there a plan for API's development or the possibility to set custom events? I have a particular page with height: 100% and transform3d to move between the sections. It would be useful to have something to start lazy loading manually during change section (on scroll) because offset and position do not change at the scroll (because height is 100%)