ionic-team / ionic-team/ionic-framework

feat: determinate spinner/progress

Đang mở
#21,868 2 bình luận 6 reaction 0 người được giao Xem trên GitHub
package: core type: feature request
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

# 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.