We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5d9dc commit 6ab275cCopy full SHA for 6ab275c
src/cdk/layout/media-matcher.md
@@ -9,7 +9,7 @@ matchMedia method, if available on the platform.
9
export class MyWidget {
10
constructor(mm: MediaMatcher) {
11
mm.matchMedia('(orientation: landscape)').matches ?
12
- this.setPortraitMode() :
+ this.setLandscapeMode() :
13
this.setPortraitMode();
14
}
15
0 commit comments