Last active
August 17, 2017 15:46
-
-
Save matthieu-D/00b239095d350f932966006363889717 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-header> | |
<ion-navbar> | |
<ion-title> | |
Ionic Redux Intro | |
</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content padding> | |
<div *ngFor="let color of colorList$ | async"> | |
<div style="width: 100px;height: 100px" [style.backgroundColor]="color"></div> | |
</div> | |
<button ion-button (click)="addColors()"> | |
Add some colors | |
</button> | |
<button ion-button (click)="removeLastColor()"> | |
Remove last color | |
</button> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment