mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Implement AnimationEffect progress helper functions
This excludes transformed_progress (which is the progress value used to interpolate CSS values) as it requires a timing function
This commit is contained in:
parent
7f303729f3
commit
1915e603c9
Notes:
sideshowbarker
2024-07-17 11:29:41 +09:00
Author: https://github.com/mattco98
Commit: 1915e603c9
Pull-request: https://github.com/SerenityOS/serenity/pull/21844
2 changed files with 135 additions and 0 deletions
|
@ -116,6 +116,12 @@ public:
|
|||
};
|
||||
Phase phase() const;
|
||||
|
||||
Optional<double> overall_progress() const;
|
||||
Optional<double> directed_progress() const;
|
||||
AnimationDirection current_direction() const;
|
||||
Optional<double> simple_iteration_progress() const;
|
||||
Optional<double> current_iteration() const;
|
||||
|
||||
protected:
|
||||
AnimationEffect(JS::Realm&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue