feat(MatPaginator): Allow custom content in paginator
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
Hey there,
#### Feature Description
Add a ng-content tag in the left part of the paginator for custom content. Users could then add additional information like this:
```
```
#### Use Case
The paginator, depending on the use case, can get quite wide. All controls are aligned to the right side. On the left side, there is a lot of space, which might be used for other information. E.g, imagine a table that lets the user select rows. In the bottom left, one could show the number of selected items - something like this:

Beitragsleitfaden
Rechercherichtung
Beginne am Einstiegspunkt der MatPaginator-Komponente und untersuche, wie ihr Template die linken und rechten Bereiche anordnet. Füge Unterstützung für projizierte benutzerdefinierte Inhalte auf der linken Seite hinzu, wobei das Beispiel im Issue als Ziel für die Verwendung dient, und verifiziere, dass die vorhandenen Paginator-Steuerelemente weiterhin rechts ausgerichtet sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100