UNPKG

799 BTypeScriptView Raw
1export declare function getCss(docEle: HTMLElement): {
2 transform?: string;
3 transition?: string;
4 transitionDuration?: string;
5 transitionDelay?: string;
6 transitionTimingFn?: string;
7 transitionStart?: string;
8 transitionEnd?: string;
9 transformOrigin?: string;
10 animationDelay?: string;
11};
12export declare function pointerCoord(ev: any): PointerCoordinates;
13export declare function hasPointerMoved(threshold: number, startCoord: PointerCoordinates, endCoord: PointerCoordinates): boolean;
14export declare function isTextInput(ele: any): boolean;
15export declare const NON_TEXT_INPUT_REGEX: RegExp;
16export declare function copyInputAttributes(srcElement: HTMLElement, destElement: HTMLElement): void;
17export interface PointerCoordinates {
18 x?: number;
19 y?: number;
20}