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

LibWeb: Add Animation event handler attributes

This commit is contained in:
Matthew Olsson 2024-02-10 20:51:54 -07:00 committed by Andreas Kling
parent 2dd5d0c310
commit d2cfea5acc
3 changed files with 46 additions and 3 deletions

View file

@ -20,9 +20,9 @@ interface Animation : EventTarget {
readonly attribute Promise<Animation> ready;
readonly attribute Promise<Animation> finished;
// FIXME: attribute EventHandler onfinish;
// FIXME: attribute EventHandler oncancel;
// FIXME: attribute EventHandler onremove;
attribute EventHandler onfinish;
attribute EventHandler oncancel;
attribute EventHandler onremove;
undefined cancel();
undefined finish();