oden/third-party/vendor/web-sys/webidls/enabled/AnimationFrame.webidl
2024-03-08 11:03:01 -08:00

10 lines
433 B
Text

// https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animation-frames
callback FrameRequestCallback = undefined (DOMHighResTimeStamp time);
interface mixin AnimationFrameProvider {
[Throws] long requestAnimationFrame(FrameRequestCallback callback);
[Throws] undefined cancelAnimationFrame(long handle);
};
Window includes AnimationFrameProvider;
DedicatedWorkerGlobalScope includes AnimationFrameProvider;