- FIX restored install function for ES6 modules
- FIX accidentaly removed install function
- NEW custom loading, loaded and error class naming
- NEW support for CORS (thanks to @gerardo-rodriguez)
- FIX last update was not present on NPM, somehow
- FIX improved docs
- NEW extra
component
export so you can install the component where needed, not only globally - NEW don't need to explicitly add
slot="image"
to your tags, thedefault
slot will be used prioritarily, if found Note: if both are present, only thedefault
will be used. - FIX changed
requestAnimationFrame
to$nextTick
, which reduces errors of undefined elements - FIX removed main element
ref
to usethis.$el
instead, reducing processing
- NEW error event for when image fails to load
- NEW margin option for IntersectionObserver's
rootMargin
- NEW ratio option for comparing element's visible percentage
- FIX (some) bad documentation grammar
- FIX build error when using Webpack and
import
ing
- FIX
import
was not working in Babel
- FIX double loading on fast scrolling and/or slow connections
- FIX Observer being
null
ified before disconnecting
Failed version.
Initial release.