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

Can we have easing options exposed by IAnimationOptions #49

Open
arnoldsimha opened this issue Apr 16, 2020 · 5 comments
Open

Can we have easing options exposed by IAnimationOptions #49

arnoldsimha opened this issue Apr 16, 2020 · 5 comments

Comments

@arnoldsimha
Copy link

Hi,
I really like this library. It allows us to focus on development and less on animations development. There is one thing I would like to have and this is an easing option that will allow the developers to decide the easing for the animations.
Thank you

@filipows
Copy link
Owner

Hi @arnoldsimha,
thank you for your feedback! I might have to look closer into that, to not over-complicate things. Do you have any particular use case in mind or it's more of a general thought?

Some of the animations are having different easing functions between keyframes, so should we expose all of the easing functions for a certain animation? (in some cases it could be 3 functions per animation)

@arnoldsimha
Copy link
Author

Hi @filipows ,
Thank you for your response. I think it's possible to keep it simple. I saw that you're setting "easing" property as "ease":
image

you can expose it through IAnimationOptions and allow developers to set the string, or even have list of allowed options :)

@mckenzielong
Copy link

Was also wondering if we could get this feature. It would be nice to achieve the emphasized easing mentioned in the material design reference:

https://material.io/design/motion/speed.html#easing

@yousafravian
Copy link

Hi @filipows ,
Thank you for your response. I think it's possible to keep it simple. I saw that you're setting "easing" property as "ease":
image

you can expose it through IAnimationOptions and allow developers to set the string, or even have list of allowed options :)

Yes I was also looking for easing parameter but couldn't find one. Could you suggest any work around

@filipows
Copy link
Owner

Hi @yousafraza39142,

thanks for your comment. Unfortunately, I don't think there's a workaround for that atm.

Seems like this feature should be prioritised. I'll have a look at this in the upcoming days.

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

No branches or pull requests

4 participants