PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / trunk
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution vtrunk
2.0.1 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.9.0 2.0.0
solid-performance / build / lazyLoader.js

lazyLoader.js in Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution trunk, at build/lazyLoader.js

1 lines 514 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (()=>{"use strict";((t={rootMargin:"300px"})=>{const e=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){e.unobserve(t.target);const r=t.target.dataset.solidPerfAttrs;r&&r.split(",").forEach((e=>{const r=t.target.getAttribute(`data-solid-perf-${e}`);if(r){const s=t.target.getAttribute(e),o=s?`${s}${r}`:r;t.target.setAttribute(e,o)}}))}}))}),t);return{observeElements:(t="[data-solid-perf-trigger='viewport']")=>{document.querySelectorAll(t).forEach((t=>e.observe(t)))}}})().observeElements()})();