All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.animations.animate.d.ts Maven / Gradle / Ivy

type AnimateOptions = {
    beforeStart?: () => void;
    duration: number;
    element: HTMLElement;
    advance: (p: number) => void;
};
declare const animate: (options: AnimateOptions) => {
    promise: () => Promise;
    stop: () => () => void;
};
declare const duration = 400;
export { duration };
export type { AnimateOptions };
export default animate;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy