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:
parent
211e6c1fbc
commit
a2fb3a1653
3 changed files with 13 additions and 18 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue