Skip to content

Feature request: mat-dialog snippet #111

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
simontol opened this issue Jun 21, 2019 · 2 comments
Open

Feature request: mat-dialog snippet #111

simontol opened this issue Jun 21, 2019 · 2 comments
Milestone

Comments

@simontol
Copy link

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>
@Frankystan
Copy link

Frankystan commented Nov 11, 2024

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>

@BeastCode BeastCode added this to the Dec 2024 milestone Nov 12, 2024
@BeastCode
Copy link
Owner

Looks good! Added it to Dec queue

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants