mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:18:12 +00:00
LibWeb: Add window.setTimeout()
This also leaks the timer just like setInterval() (FIXME).
This commit is contained in:
parent
16bd99aa52
commit
ca90f88d4e
4 changed files with 31 additions and 0 deletions
|
@ -46,6 +46,7 @@ public:
|
|||
i32 request_animation_frame(JS::Function&);
|
||||
void cancel_animation_frame(i32);
|
||||
void set_interval(JS::Function&, i32);
|
||||
void set_timeout(JS::Function&, i32);
|
||||
|
||||
private:
|
||||
explicit Window(Document&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue