Created
February 22, 2020 06:11
-
-
Save CodingWithTashi/134b1db652e9b821b6bab66a86d897da 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
<h1 mat-dialog-title>Hi {{data.name}}</h1> | |
<div mat-dialog-content> | |
<p>How old are you</p> | |
<mat-form-field> | |
<mat-label>Your age</mat-label> | |
<input matInput [(ngModel)]="data.age"> | |
</mat-form-field> | |
</div> | |
<div mat-dialog-actions> | |
<button mat-button (click)="onNoClick()">No Thanks</button> | |
<button mat-button [mat-dialog-close]="data.age" cdkFocusInitial>Ok</button> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment