[Table] When predicate should evaluate on each data emit
未关闭
area: cdk/table
area: material/table
P2
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
The table uses the row when predicate to determine which row template to use for a piece of data, but only once when inserting a new row.
This should be evaluated on each emit to confirm that data objects match to the right row template.
https://stackblitz.com/edit/angular-bgzmrf-tbx3dm?file=app%2Ftable-basic-example.ts
贡献指南
调研方向
先从 issue 中描述的表格行为开始,并使用链接的 StackBlitz 示例 app/table-basic-example.ts 重现该行为。跟踪数据 emit 时行 predicate 的应用方式。当 predicate 在每次 emit 时都重新评估,使数据匹配到正确的行模板,并且示例仍能正常工作时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100