Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add configurable animations #65

Merged
merged 2 commits into from
Mar 12, 2024
Merged

add configurable animations #65

merged 2 commits into from
Mar 12, 2024

Conversation

ammen99
Copy link
Member

@ammen99 ammen99 commented Mar 12, 2024

This PR adds a new config option type, animation.

It can be used instead of plain integers for animation durations.
In contrast to the basic integers, the new animation type uses a suffix to indicate the unit of time, ms or s.
It can also optionally override the easing function used for the particular animation.

As a test, this also adds a new elasticEaseOut easing function.

Fixes #6

@ammen99 ammen99 merged commit aba330e into master Mar 12, 2024
4 checks passed
@ammen99 ammen99 deleted the add-configurable-animations branch March 12, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuration of animation easing function
1 participant