Skip to content

Commit 6ab275c

Browse files
willshowellkara
authored andcommitted
docs(layout): fix media matcher code snippet (#7475)
1 parent bd5d9dc commit 6ab275c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/layout/media-matcher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ matchMedia method, if available on the platform.
99
export class MyWidget {
1010
constructor(mm: MediaMatcher) {
1111
mm.matchMedia('(orientation: landscape)').matches ?
12-
this.setPortraitMode() :
12+
this.setLandscapeMode() :
1313
this.setPortraitMode();
1414
}
1515
}

0 commit comments

Comments
 (0)