Skip to content

Instantly share code, notes, and snippets.

@CodingWithTashi
Created February 22, 2020 06:39
Show Gist options
  • Save CodingWithTashi/df9501c8577767e7632b1584f7e40773 to your computer and use it in GitHub Desktop.
Save CodingWithTashi/df9501c8577767e7632b1584f7e40773 to your computer and use it in GitHub Desktop.
<mat-form-field>
<mat-label>Message</mat-label>
<input matInput value="Deleted File" #message>
</mat-form-field>
<mat-form-field>
<mat-label>Action</mat-label>
<input matInput value="Undo" #action>
</mat-form-field>
<button mat-stroked-button (click)="openSnackBar(message.value, action.value)">Delete</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment