ionic-team / ionic-team/ionic-framework

feat: control badge positioning on icon within ion-button

Abierto
#18,736 7 comentarios 22 reacciones 0 asignados Ver en GitHub
package: core type: feature request
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

# 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.