Closed
Description
Feature Description
I would like to see a feature close a dialog on any element (custom components, native elements) for mat-dialog-close. Actual behaviour provides close only for html button
Selector: button[mat-dialog-close] button[matDialogClose]
I would like to use it on any element (custom or native)
Selector: [mat-dialog-close] [matDialogClose]
Use Case
add a directive mat-dialog-close
to element <app-button mat-dialog-close></app-button>
, after click on custom button - close button