UNPKG

@es-react/react

Version:

Hippy react framework

28 lines (27 loc) 1.2 kB
import '../global'; import { HippyTypes } from '../types'; declare class AnimationSet implements HippyTypes.AnimationSet { animationId: number; animation?: HippyTypes.AnimationSetInstance; animationList: HippyTypes.AnimationList; onHippyAnimationStart?: Function | undefined; onHippyAnimationEnd?: Function | undefined; onHippyAnimationCancel?: Function | undefined; onHippyAnimationRepeat?: Function | undefined; onAnimationStartCallback?: HippyTypes.AnimationCallback | undefined; onAnimationEndCallback?: HippyTypes.AnimationCallback | undefined; onAnimationCancelCallback?: HippyTypes.AnimationCallback | undefined; onAnimationRepeatCallback?: HippyTypes.AnimationCallback | undefined; constructor(config: HippyTypes.AnimationSetOptions); removeEventListener(): void; start(): void; destory(): void; destroy(): void; pause(): void; resume(): void; onAnimationStart(cb: HippyTypes.AnimationCallback): void; onAnimationEnd(cb: HippyTypes.AnimationCallback): void; onAnimationCancel(cb: HippyTypes.AnimationCallback): void; onAnimationRepeat(cb: HippyTypes.AnimationCallback): void; } export default AnimationSet;