angular / angular/components

[Paginator] Allow 'All' option

未关闭
#8,150 33 条评论 22 个 reaction 已指派 0 人 在 GitHub 查看
area: material/paginator feature P5
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### Feature request

#### What is the expected behavior?
Ability to provide "ALL" as page size option.[5,10,50, All]

#### What is the current behavior?
Page size options are fixed numbers.[5,10,50]

#### What is the use-case or motivation for changing an existing behavior?
Most paginators offer this function, therefore user expects it.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All

贡献指南

打开贡献指南

调研方向

首先定位 Angular Material 分页器的实现及其现有测试,然后跟踪页面大小选项的表示和渲染方式。当可以在数字大小旁提供一个 All 选项,并且选择该选项后能显示所有项目,同时不破坏当前的数字选项时,此更改就完成了。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。