Skip to content

Commit d2aa8ac

Browse files
cexbrayatalexeagle
authored andcommitted
fix(animations): fix increment/decrement aliases example (#18323)
PR Close #18323
1 parent ef956a2 commit d2aa8ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/animations/src/animation_metadata.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,9 @@ export function keyframes(steps: AnimationStyleMetadata[]): AnimationKeyframesSe
787787
* <button (click)="next()">Next</button>
788788
* <hr>
789789
* <div [@bannerAnimation]="selectedIndex" class="banner-container">
790-
* <div class="banner"> {{ banner }} </div>
790+
* <div class="banner" *ngFor="let banner of banners"> {{ banner }} </div>
791791
* </div>
792-
* `
792+
* `,
793793
* animations: [
794794
* trigger('bannerAnimation', [
795795
* transition(":increment", group([
@@ -809,7 +809,7 @@ export function keyframes(steps: AnimationStyleMetadata[]): AnimationKeyframesSe
809809
* query(':leave', [
810810
* animate('0.5s ease-out', style({ left: '100%' }))
811811
* ])
812-
* ])),
812+
* ]))
813813
* ])
814814
* ]
815815
* })

0 commit comments

Comments
 (0)