On this page

Type Alias AnimationEvent

type AnimationEvent = {
    currentDelta: number;
    currentTime: number;
    iteration?: number;
    keyframe?: Keyframe | null;
    nextKeyframe?: Keyframe | null;
    playbackRate: number;
    previousProps: Record<string, number>;
    props: Record<string, number>;
    target: MaptilerAnimation;
    type: AnimationEventTypes;
}
Index

Properties

currentDelta: number
currentTime: number
iteration?: number
keyframe?: Keyframe | null
nextKeyframe?: Keyframe | null
playbackRate: number
previousProps: Record<string, number>
props: Record<string, number>
Was this helpful?
SDK JS
Reference
AnimationEvent