diff --git a/src/cdk/layout/media-matcher.md b/src/cdk/layout/media-matcher.md index 259ad241a7c..6e071b5bd22 100644 --- a/src/cdk/layout/media-matcher.md +++ b/src/cdk/layout/media-matcher.md @@ -9,7 +9,7 @@ matchMedia method, if available on the platform. export class MyWidget { constructor(mm: MediaMatcher) { mm.matchMedia('(orientation: landscape)').matches ? - this.setPortraitMode() : + this.setLandscapeMode() : this.setPortraitMode(); } }