UNPKG

@gauf/tracker

Version:

Browser tracker with perfect customization

20 lines 683 B
export declare type Extractor = (event: any) => object; export declare type Size = { readonly width: number; readonly height: number; }; export declare type Position = { readonly x: number; readonly y: number; }; export declare type DeviceOrientation = { readonly absolute: boolean; readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; }; export declare const extractWindowSize: Extractor; export declare const extractWindowScroll: Extractor; export declare const extractMousePosition: Extractor; export declare const extractDeviceOrientation: Extractor; //# sourceMappingURL=behavior.d.ts.map