| 2648 | class ModuleBoundDialogModule {} |
| 2649 | |
| 2650 | @Component({ |
| 2651 | template: `{{message | async}}`, |
| 2652 | imports: [AsyncPipe], |
| 2653 | }) |
| 2654 | class DialogWithAfterOpenSubscription { |
| 2655 | dialogRef = inject(MatDialogRef); |
| 2656 | animations = inject(MATERIAL_ANIMATIONS); |
| 2657 | |
| 2658 | protected message = this.dialogRef.afterOpened().pipe(map(() => 'The dialog is now open!')); |
| 2659 | } |
nothing calls this directly
no test coverage detected