mygu / ngx-animate

A very cool angular animation library.
MIT License
27 stars 6 forks source link

How to add animation-timing-function #2

Open dinesh-csin0212 opened 6 years ago

dinesh-csin0212 commented 6 years ago

How can we add animation-timing-function like "ease, ease-in, ease-in-out, linear" etc...?

mygu commented 6 years ago

Hi @dinesh-csin0212 ,

Your proposal sounds good, but the library has some predefined animation effects, so the custom easing function may break the original animation.

If you have such advanced requirements, I suggest you customize angular animation, which is not too much trouble. You can refer to the doc: https://angular.io/guide/animations