ng2-animate
ng2-animate copied to clipboard
Different animation duration in same class
Can we support different durations for different doms within the same component? So I have 1 animateFactory and every animation uses this.
If we could something like[@animate]="'fadeIn'" [@animateDuration]="300"
, this would be awesome!
So far, only way to achieve this problem seems to be creating a new component and create an animateFactory for it.
I have addressed this in my pull request and I am looking for extra eyes on it. Please review, maybe pull and try for yourself : https://github.com/yuyang041060120/ng2-animate/pull/4