The event that fires after each frame in the animation loop.

interface AnimateEvent {
    time: number;
    type: "animate";
}

Properties

Properties

time: number

A DOMHighResTimeStamp indicating the end time of the previous frame's rendering. See requestAnimationFrame for more details.

type: "animate"

Event type.