- Update the
destroy
method so it also removes lazyload's modifications to DOM elements (element.llStatus
andelement.llTimeout
) - Use
requestAnimationFrame
before resetting the sources and calling the callbacks? See lazysizes. - Consider not using the
load
event listener for videos. - Consider creating a subset of options and defaults for the static
load
method, and document it - DRY the
// Annotate and notify loading
part inlazyload.setSources
- Release a new beta major with
cancel_on_exit
defaulting totrue
- When
cancel_on_exit
isfalse
, unobserve elements as soon as they start loading (as of before 15.2.0). - Check how LazyLoad behaves when a page was updated using DOM morphing. If only the data-attributes were updated, how do one forces LazyLoad to read from them again?
- Check out how the plugin architecture of lazysizes work
- Test more modules and functions, coverage!!!
- Test native
img
, nativeiframe
, alone or in conjunction withvideo
s.
Test more modules
- autoinitialize
- purge
- reveal