ionic-team / ionic-team/ionic-framework

feat: control badge positioning on icon within ion-button

オープン
#18,736 コメント 7 件 リアクション 22 件 担当者 0 名 GitHub で見る
package: core type: feature request
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

# Feature Request

**Ionic version:**
[x] **4.x**

**Describe the Feature Request**
`ion-button` with slottable `ion-badge` to indicate notifications.

**Describe Preferred Solution**
`ion-tab-button` already has this. From the [doc](https://ionicframework.com/docs/api/tabs):
```


Schedule
6

```

**Describe Alternatives**
Reference to how this can be done currently:
https://forum.ionicframework.com/t/how-to-add-a-badge-to-a-icon-inside-a-ion-button/70868/3

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by comparing the ion-button component with the existing ion-tab-button badge behavior and the linked tabs documentation. Confirm how a slotted ion-badge should be positioned on an icon within ion-button, then verify that the resulting layout matches the requested notification-badge example.

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

評価

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

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

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