mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27:34 +00:00
LibWeb: Add Animation event handler attributes
This commit is contained in:
parent
2dd5d0c310
commit
d2cfea5acc
3 changed files with 46 additions and 3 deletions
|
@ -66,6 +66,13 @@ public:
|
|||
JS::NonnullGCPtr<JS::Object> finished() const { return *current_finished_promise()->promise(); }
|
||||
bool is_finished() const { return m_is_finished; }
|
||||
|
||||
JS::GCPtr<WebIDL::CallbackType> onfinish();
|
||||
void set_onfinish(JS::GCPtr<WebIDL::CallbackType>);
|
||||
JS::GCPtr<WebIDL::CallbackType> oncancel();
|
||||
void set_oncancel(JS::GCPtr<WebIDL::CallbackType>);
|
||||
JS::GCPtr<WebIDL::CallbackType> onremove();
|
||||
void set_onremove(JS::GCPtr<WebIDL::CallbackType>);
|
||||
|
||||
enum class AutoRewind {
|
||||
Yes,
|
||||
No,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue