Skip to content

Releases: Aljullu/react-lazy-load-image-component

1.0.1

24 Feb 19:46
Compare
Choose a tag to compare

Fixes

  • Images were not loading when appearing after a horizontal position change.

1.0.0

23 Feb 19:31
Compare
Choose a tag to compare

Features

  • Two components: a HOC to track the scroll position and a component to render the image.
  • Handles scroll events, resize events and re-renders that might change the position of the components.
  • Placeholder by default with the same size of the image.
  • A custom placeholder and threshold can be specified.
  • beforeLoad and afterLoad events.
  • Accepts all standard <img> attributes.