ng2-animate icon indicating copy to clipboard operation
ng2-animate copied to clipboard

Different animation duration in same class

Open TunaYagci opened this issue 8 years ago • 1 comments

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.

TunaYagci avatar Sep 07 '16 16:09 TunaYagci

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

AckerApple avatar Mar 01 '17 15:03 AckerApple