Can't bind to 'mat-dialog-close' since it isn't a known property of 'button'. code example
Example 1: Can't bind to 'mat-dialog-close' since it isn't a known property of 'button'
import {MatDialogModule} from '@angular/material';
...
@NgModule({
declarations: [
...
],
imports: [
...
MatDialogModule,
],
Example 2: Can't bind to 'cdkCopyToClipboard' since it isn't a known property of 'button'
import {ClipboardModule} from '@angular/cdk/clipboard';
...
@NgModule({
imports: [ClipboardModule]
})