feat(snack-bar): Close Icon
未关闭
area: material/snack-bar
feature
P4
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
### Feature Description
The m3 spec here: https://m3.material.io/components/snackbar/specs shows an Icon (optional close affordance)
It would be nice if this could be added to the SimpleSnackBar and had a way to enable from MatSnackBar.open
### Use Case
This would be a nice alternative to having a 'Dismiss' action on error messages, etc.
贡献指南
调研方向
从 Material 3 snackbar 规范开始,跟踪 SimpleSnackBar 组件和 MatSnackBar.open 入口点,以了解所请求的关闭图标 affordance 和 API 选项。完成的标准是可以通过 MatSnackBar.open 启用可选图标,并且该图标可在 SimpleSnackBar 上作为 Dismiss 操作的替代方案使用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100