Created
June 9, 2017 16:09
-
-
Save matthieu-D/dba633aed88800eb7555646233a941f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-list> | |
<ion-item-sliding *ngFor="let item of items; let idx = index;"> | |
<button ion-item> | |
<h2>{{item.category}}</h2> | |
<p>{{item.description}}</p> | |
</button> | |
<ion-item-options> | |
<button ion-button color="danger" (click)="deleteTask(item, idx)">DELETE</button> | |
</ion-item-options> | |
</ion-item-sliding> | |
</ion-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment