-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Easy Ease #16
Comments
I guess you'e asking something like the At the moment the library cannot make this kind of effect, but this is something which can be implemented. I'll try to find a way to add this feature without make the code heavier. |
Cheers!
|
Here we are! The function will define the animation, it must accept a number as parameter (between 0 and 1) and return a number (between 0 and 1). To help, I've set 2 homemade functions new Vivus('my-svg-id', {
type: 'delayed',
duration: 200,
animTimingFunction: Vivus.TIMING_EASE_OUT
}); The code is available on the dev branch. Can you please try it and tell me what you think? |
Without having looked at the code, I can say that the naming is not very clear. What about |
I understand, but I thought We have to be careful about that point because it's not something we can change later. |
Either we want to look like CSS and should use For the value itself, being akin to CSS would mean naming it I think I'd prefer |
This feature is now implemented in the last release. |
I can't figure out a way to easy ease the animations as you would traditional with css, is it possible to implement at all?
The text was updated successfully, but these errors were encountered: