Gazebo_simulation-Frontend/node_modules/dom-helpers/esm/transitionEnd.d.ts
2020-12-21 10:29:31 -05:00

7 lines
448 B
TypeScript

export declare type Listener = (this: HTMLElement, ev: TransitionEvent) => any;
export declare const TRANSITION_SUPPORTED: boolean;
export declare function parseDuration(node: HTMLElement): number;
export declare function emulateTransitionEnd(element: HTMLElement, duration: number, padding?: number): () => void;
declare function transitionEnd(element: HTMLElement, handler: Listener, duration?: number): () => void;
export default transitionEnd;