mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
@ -88,8 +88,8 @@
|
|||||||
<button outline item-right (click)="testClick($event)">View</button>
|
<button outline item-right (click)="testClick($event)">View</button>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
<button ion-item *ngFor="#data of [0,1,2,3,4]">
|
<button ion-item *ngFor="#data of [0,1,2,3,4]; #i = index" [class.activated]="i == 1">
|
||||||
<h3>ng-for {{data}}</h3>
|
<h3>ng-for {{i}}</h3>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
Reference in New Issue
Block a user