ionic-team / ionic-team/ionic-framework

feat: determinate spinner/progress

Abierto
#21,868 2 comentarios 6 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] **5.x**

**Describe the Feature Request**
It would be nice to have a determinate state for the ion-spinner as described in the material documentation

https://material.io/components/progress-indicators#circular-progress-indicators

**Describe Preferred Solution**
A `value` attribute on `` with a `type` attribute to set `determinate` or `indeterminate` (default). The same as the `ion-progress-bar`

https://ionicframework.com/docs/api/progress-bar

**Describe Alternatives**
/

**Related Code**
https://stackblitz.com/angular/jbjgdderekm?file=src%2Fapp%2Fprogress-spinner-configurable-example.ts

**Additional Context**
There's contexts where a `ion-progress-bar` isn't possible and a circular indicator must be used. Since the `ion-progress-bar` have a determinate and indeterminate state it would make sense if `ion-spinner` had it as well

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.