angular / angular/components

[Table] Append rows on scroll events

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

描述

Table should be able to initialize with the rows visible in its viewport and dynamically append rows as the user scrolls down. This will improve its performance on load.

This is a predecessor to virtual-repeat behavior which would create a virtual scrollbar and notify the data source which rows are being viewed for dynamic data loading.

贡献指南

打开贡献指南

调研方向

从 Table 组件及其当前的行初始化和滚动事件处理开始。确定应如何识别 viewport 中可见的行,以及应如何追加更多行;完成的标准是表格最初加载可见行,并在用户向下滚动时加载更多行,而不加载整个数据集。

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

评估

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

把新 issue 发到你的邮箱

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