UNPKG

@phantomstudios/ft-lib

Version:

A collection of Javascript UI & tracking utils for FT sites

18 lines 690 B
import { ConfigType } from "./yupValidator"; import { TrackingOptions } from "../FTTracking"; import { FTTracking } from "../FTTracking"; import { gaTracker } from "../gaTracker"; import { oTracker } from "../oTracker"; import "./intersectionObserverPolyfill"; export declare class ScrollTracker { oTracker: oTracker; gaTracker: gaTracker; options: TrackingOptions; attention: any; config: ConfigType; constructor(FTTracker: FTTracking); reset(): void; scrollDepthInit(percentages: number[], selector?: string): void; intersectionCallback(observer: IntersectionObserver, changes: IntersectionObserverEntry[]): void; } //# sourceMappingURL=scroll.d.ts.map