UNPKG

animate-image

Version:
20 lines (17 loc) 457 B
interface AnimateImageOptions { images: string[]; width?: number; height?: number; infinity?: boolean; container?: string; duration?: number; delay?: number; isUpdateFromLastPosition?: boolean; background?: string; pixelStep?: number; easing?: string; } declare function animateImage(options: AnimateImageOptions, callback?: () => void): Promise<() => void>; interface Props { } export { Props, animateImage };