We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666e9b3 commit 4306e63Copy full SHA for 4306e63
src/material/dialog/dialog-content-directives.ts
@@ -25,7 +25,7 @@ let dialogElementUid = 0;
25
* Button that will close the current dialog.
26
*/
27
@Directive({
28
- selector: `button[mat-dialog-close], button[matDialogClose]`,
+ selector: '[mat-dialog-close], [matDialogClose]',
29
exportAs: 'matDialogClose',
30
host: {
31
'(click)': 'dialogRef.close(dialogResult)',
0 commit comments