ionic-team / ionic-team/ionic-framework

feat: determinate spinner/progress

未关闭
#21,868 2 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: feature request
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。