angular / angular/components

feat(MatPaginator): Allow custom content in paginator

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

説明

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:

```

Stuff displayed on the left side!

```

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

![image](https://user-images.githubusercontent.com/39462297/116786103-49392000-aa9d-11eb-9299-10946dc9fdcf.png)

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

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

調査の方向性

MatPaginator コンポーネントのエントリーポイントから始め、そのテンプレートが左セクションと右セクションをどのように配置しているかを確認します。Issue の例を使用方法の目標として、左側に投影されたカスタムコンテンツのサポートを追加し、既存の paginator コントロールが引き続き右側に揃っていることを確認します。

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

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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