angular / angular/components

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

Offen
#29,600 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area: cdk/table docs P4
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne auf der Übersichtsseite der CDK-Tabelle und lies die Beschreibung der MatRecycleRows API sowie das Tabellenbeispiel, das die recycleRows-Direktive verwendet. Aktualisiere die Dokumentation, um den Zweck der Direktive, ihre Auswirkungen auf das Tabellenverhalten und ihre Einsatzsituation zu erklären; fertig ist die Aufgabe, wenn ein Neuling verstehen kann, ob sie auf sein Szenario zutrifft.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.