UNPKG

syphonx-core

Version:

SyphonX is a template-driven solution for extracting data from HTML in a highly efficient way. It combines the power of jQuery, Regular Expressions, and Javascript into a declarative template-driven format that extracts and reshapes HTML data into JSON.

14 lines 435 B
export function waitForScrollEnd() { return new Promise(resolve => { let timer = setTimeout(() => resolve(), 3000); function onScroll() { clearTimeout(timer); timer = setTimeout(() => { removeEventListener("scroll", onScroll); resolve(); }, 200); } addEventListener("scroll", onScroll); }); } //# sourceMappingURL=scroll.js.map