ionic-team / ionic-team/ionic-framework

feat: determinate spinner/progress

Offen
#21,868 2 Kommentare 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
package: core type: feature request
Vorherrschende Sprache
TypeScript
Sterne
52.7k
Forks
13.3k
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
51

Beschreibung

# 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.