feat(MatPaginator): Allow custom content in paginator
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
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:

Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez au point d’entrée du composant MatPaginator et examinez comment son template organise les sections de gauche et de droite. Ajoutez la prise en charge d’un contenu personnalisé projeté à gauche, en utilisant l’exemple de l’issue comme objectif d’utilisation, et vérifiez que les contrôles existants du paginator restent alignés à droite.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100