UNPKG

advanced-cropper

Version:

The core of the advanced cropper libraries family

23 lines (22 loc) 540 B
interface AnimationOptions { timingFunction: string; duration: number; onStart?: () => void; onProgress?: (progress: number) => void; onStop?: () => void; } declare class Animation { endTime?: number; startTime?: number; active: boolean; id?: number; onStart?: () => void; onProgress?: (progress: number) => void; onStop?: () => void; timingFunction?: string; constructor(); start(animation: AnimationOptions): void; animate(): void; stop(): void; } export { Animation };