代码拉取完成,页面将自动刷新
event.detail.fullSrc
(#827)source
based config in case of picture
element usage (#764)iframeLoadMode
option (see #810)width
/height
content attributes to detect physical aspect ratio of image candidates, if data-aspectratio
and h
/w
descriptors are missing. #642
lazySizesConfig
anymore fixes #647
loading="lazy"
feature as a native loading plugin.ls-is-cached
to already cached images.import
/require
. These are mostly for CDNs. Not for Common JS bundlers.loadHidden
option(thx to @justinvoelker)picture
support for old FF 38-requestIdleCallback
, better debouncing and a lot more).Breaking change: * the lazysizes.js and lazysizes.min.js files do not register as AMD modules anymore, if you need an AMD module use the new lazysizes-umd.js or lazysizes-umd.min.js file.
svg
/image
/use
...)hFactor
option (see #181).unloadPixelThreshold
calculation.setImmediate
with setTimeout
(improved performance for IE/EDGE).此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。