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.
13 lines (12 loc) • 342 B
TypeScript
import { SelectQuery } from "./Select.js";
import { When } from "./When.js";
export interface Scroll {
name?: string;
query?: SelectQuery[];
target?: ScrollTarget;
behavior?: ScrollBehavior;
block?: ScrollLogicalPosition;
inline?: ScrollLogicalPosition;
when?: When;
}
export type ScrollTarget = "top" | "bottom";