Releases: drementer/lazy-load.js
Releases · drementer/lazy-load.js
v1.0.5
Changelog
[1.0.5] - 2023-07-01
Added
- Added
selector
andoptions
parameters to thelazyLoadImages
function. - Obtained
lazyLoadItems
variable using theselector
parameter. - Set default
options
forIntersectionObserver
. - Created a variable named
mergedOptions
and mergedoptions
withdefaultOptions
.
Changed
- Updated the declaration of variables
target
,value
, andobserver
in thelazyLoad
function. - Replaced
observer.disconnect()
withobserver.unobserve(target)
.
Removed
- Removed the usage of
window.onload
.
Full Changelog: v1.0.4...v1.0.5