worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
19
node_modules/dom-helpers/esm/animate.d.ts
generated
vendored
Normal file
19
node_modules/dom-helpers/esm/animate.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { EventHandler } from './addEventListener';
|
||||
import { TransformValue } from './isTransform';
|
||||
import { Property } from './types';
|
||||
declare type AnimateProperties = Record<Property | TransformValue, string>;
|
||||
interface Options {
|
||||
node: HTMLElement;
|
||||
properties: AnimateProperties;
|
||||
duration?: number;
|
||||
easing?: string;
|
||||
callback?: EventHandler<'transitionend'>;
|
||||
}
|
||||
interface Cancel {
|
||||
cancel(): void;
|
||||
}
|
||||
declare function animate(options: Options): Cancel;
|
||||
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number): Cancel;
|
||||
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number, callback: EventHandler<'transitionend'>): Cancel;
|
||||
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number, easing: string, callback: EventHandler<'transitionend'>): Cancel;
|
||||
export default animate;
|
||||
Loading…
Add table
Add a link
Reference in a new issue