MCPcopy
hub / github.com/ApoorvSaxena/lozad.js / isLoaded

Function isLoaded

src/lozad.js:96–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96const isLoaded = element => element.getAttribute('data-loaded') === 'true'
97
98const onIntersection = (load, loaded) => (entries, observer) => {
99 entries.forEach(entry => {

Callers 3

onIntersectionFunction · 0.85
observeFunction · 0.85
triggerLoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected