mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibWeb: Implement some AnimationEffect timing-related helpers
end_time, local_time, and active_duration
This commit is contained in:
parent
d6fb1c24f6
commit
baf5220212
2 changed files with 42 additions and 0 deletions
|
@ -94,6 +94,10 @@ public:
|
|||
|
||||
AnimationDirection animation_direction() const;
|
||||
|
||||
double end_time() const;
|
||||
Optional<double> local_time() const;
|
||||
double active_duration() const;
|
||||
|
||||
protected:
|
||||
AnimationEffect(JS::Realm&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue