Skip to content

Commit 1dce54e

Browse files
peterblazejewiczjelbourn
authored andcommitted
docs(dialog): change afterOpen to afterOpened in example (#17087)
1 parent ccef0da commit 1dce54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dev-app/dialog/dialog-demo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class DialogDemo {
5353
// Possible useful example for the open and closeAll events.
5454
// Adding a class to the body if a dialog opens and
5555
// removing it after all open dialogs are closed
56-
dialog.afterOpen.subscribe(() => {
56+
dialog.afterOpened.subscribe(() => {
5757
if (!doc.body.classList.contains('no-scroll')) {
5858
doc.body.classList.add('no-scroll');
5959
}

0 commit comments

Comments
 (0)