ionic-team / ionic-team/ionic-framework
feat: determinate spinner/progress
- Dominant language
- TypeScript
- Stars
- 52.7k
- Forks
- 13.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 51
Description
# 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
Contributor guide
Assessment
This issue has not been assessed yet.