Created
June 29, 2017 20:24
-
-
Save matthieu-D/9810cfa8e25ed2c0201801882b513336 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-content padding> | |
<ion-label> | |
How many hours do you spend online? | |
</ion-label> | |
<input type="text" [(ngModel)]="number"> | |
<br> | |
<button ion-button [hidden]="hasAnswered" (click)="answer(number)"> | |
Answer | |
</button> | |
<div [hidden]="!hasAnswered"> | |
Thanks for your answer! | |
</div> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment