mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-29 06:59:48 +00:00
11 lines
433 B
Plaintext
11 lines
433 B
Plaintext
// 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;
|