Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.1 KB

todo.md

File metadata and controls

25 lines (19 loc) · 1.1 KB

TODO

Coming next

  • Update the destroy method so it also removes lazyload's modifications to DOM elements (element.llStatus and element.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 in lazyload.setSources
  • Release a new beta major with cancel_on_exit defaulting to true
  • When cancel_on_exit is false, 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

  • Test more modules and functions, coverage!!!
  • Test native img, native iframe, alone or in conjunction with videos.

Test more modules

  • autoinitialize
  • purge
  • reveal