angular / angular/components

docs-bug(COMPONENT): Insufficient documentation of MatRecycleRows directive

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

説明

### Documentation Feedback

There is *some* documentation on MatRecycleRows:
- In the api section we find the following description of MatRecycleRows: "Enables the recycle view repeater strategy"
- In the examples we find a "Table that uses the recycle view repeater strategy." example. But in the example we only see the standard example code with the extra directive 'recycleRows'. It is not clear at all what is the impact of the directive.

Nowhere in the docs I find what exactly is the purpose of this directive; in what scenarios I should use this. I have the *impression* you should use this when implementing infinite scroll, but I am not sure at all.

### Affected documentation page

https://material.angular.io/cdk/table/overview

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

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

調査の方向性

CDK テーブルの概要ページから始め、MatRecycleRows API の説明と recycleRows ディレクティブを使用しているテーブルの例を読みます。ドキュメントを更新して、ディレクティブの目的、テーブルの動作への影響、使用すべき場面を説明します。新しく参加する人が、自分のシナリオに適用できるかどうかを理解できれば完了です。

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

評価

技術スタック
angular
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
45/100

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

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