1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +00:00

LibWeb/HTML: Port Window.cancelAnimationFrame() to IDL

This commit is contained in:
Linus Groh 2023-03-07 18:14:33 +00:00
parent 211e6c1fbc
commit a2fb3a1653
3 changed files with 13 additions and 18 deletions

View file

@ -5,4 +5,5 @@ callback FrameRequestCallback = undefined (DOMHighResTimeStamp time);
// https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animationframeprovider
interface mixin AnimationFrameProvider {
unsigned long requestAnimationFrame(FrameRequestCallback callback);
undefined cancelAnimationFrame(unsigned long handle);
};