angular / angular/components

feat(snack-bar): Close Icon

オープン
#28,906 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
area: material/snack-bar feature P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
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 エントリーポイントを追って、要求されている閉じるアイコンのアフォーダンスと API オプションを理解します。MatSnackBar.open を通じてオプションのアイコンを有効にでき、SimpleSnackBar で Dismiss アクションの代替として利用できれば完了です。

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

評価

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

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

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