MCPcopy Create free account
hub / github.com/angular/components / DialogWithAfterOpenSubscription

Class DialogWithAfterOpenSubscription

src/material/dialog/dialog.spec.ts:2650–2659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2648class ModuleBoundDialogModule {}
2649
2650@Component({
2651 template: `{{message | async}}`,
2652 imports: [AsyncPipe],
2653})
2654class 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}

Callers

nothing calls this directly

Calls 1

afterOpenedMethod · 0.45

Tested by

no test coverage detected