ionic-framework
ionic-framework copied to clipboard
feat: determinate spinner/progress
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 <ion-spinner> 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
Would love to see this one in the next major release of the Ionic framework!
@liamdebeasi This issue is pretty old, is there any eta for this feature?