ionic-team / ionic-team/ionic-framework
feat: customize icon positioning in ion-button
オープン
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**
I want to place the icon on the top, and text on bottom in ion-button.
Same as the one available in ion-segment / ion-tab-button.
**Describe Preferred Solution**
Add "top" to slot attribute.
`
Top Icon
`
コントリビューションガイド
調査の方向性
Start by reviewing the ion-button implementation and comparing its slot handling with ion-segment and ion-tab-button, which already support top-positioned icons. Confirm how a top slot should position the icon above the label, then add coverage for the requested markup and verify the button renders the icon on top with text below.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100