1
Fork 0
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:
Matthew Olsson 2023-11-04 11:29:10 -07:00 committed by Andreas Kling
parent d6fb1c24f6
commit baf5220212
2 changed files with 42 additions and 0 deletions

View file

@ -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&);