fix(animations): fix increment/decrement aliases example (#18323)

PR Close #18323
This commit is contained in:
cexbrayat 2017-07-25 14:40:59 +02:00 committed by Alex Eagle
parent 167cbed266
commit 48c18985cc

View File

@ -787,9 +787,9 @@ export function keyframes(steps: AnimationStyleMetadata[]): AnimationKeyframesSe
* <button (click)="next()">Next</button> * <button (click)="next()">Next</button>
* <hr> * <hr>
* <div [@bannerAnimation]="selectedIndex" class="banner-container"> * <div [@bannerAnimation]="selectedIndex" class="banner-container">
* <div class="banner"> {{ banner }} </div> * <div class="banner" *ngFor="let banner of banners"> {{ banner }} </div>
* </div> * </div>
* ` * `,
* animations: [ * animations: [
* trigger('bannerAnimation', [ * trigger('bannerAnimation', [
* transition(":increment", group([ * transition(":increment", group([
@ -809,7 +809,7 @@ export function keyframes(steps: AnimationStyleMetadata[]): AnimationKeyframesSe
* query(':leave', [ * query(':leave', [
* animate('0.5s ease-out', style({ left: '100%' })) * animate('0.5s ease-out', style({ left: '100%' }))
* ]) * ])
* ])), * ]))
* ]) * ])
* ] * ]
* }) * })