angular / angular/components

docs-bug(cdk/layout): LayoutModule is not needed

オープン
#24,248 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: cdk/layout docs P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### Documentation Feedback

In the docs it's mentioned that we need to import LayoutModule in order to use BreakpointObserver and MediaMatcher.
In the meantime from the source code it looks like the module is not needed for any purposes.
![image](https://user-images.githubusercontent.com/22374911/150513070-a7c88a8e-e97d-481d-a4c6-e7d16492b7f2.png)
![image](https://user-images.githubusercontent.com/22374911/150513187-e52ca46b-96f5-4061-932a-ef8a100c3013.png)
![image](https://user-images.githubusercontent.com/22374911/150513301-e8f7fc77-ca5a-4230-b568-cdb0fba94c3d.png)

### Affected documentation page

https://material.angular.io/cdk/layout/api

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

対象の CDK Layout API ドキュメントページから開始し、LayoutModule、BreakpointObserver、MediaMatcher に関する説明を、レポートに示されているソースコードと照合して確認します。ページに LayoutModule が必要かどうかが正確に記載され、例またはインポート手順がその動作と一致していれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。