VSCode-Angular-TypeScript-Snippets
VSCode-Angular-TypeScript-Snippets copied to clipboard
Feature request: mat-dialog snippet
It could be great to have a snippet for mat-dialog basic structure such as:
<h1 mat-dialog-title></h1>
<div mat-dialog-content>
</div>
<div mat-dialog-actions>
</div>
I agree. It would be great like this:
<h2 mat-dialog-title> title </h2>
<mat-dialog-content class="mat-typography"> content </mat-dialog-content>
<mat-dialog-actions align="end">
<button mat-button mat-dialog-close> cancel </button>
<button mat-button [mat-dialog-close]="true" cdkFocusInitial> accept </button>
</mat-dialog-actions>
Looks good! Added it to Dec queue