This is a Stencil fork of angular-progress-arc (thanks to jesujcastillom), used to display circular progress meters, or in Hattrick used to display stamina.
Variable | Description | Default value |
---|---|---|
--progress-arc-stroke-width |
Thickness of the circle. | 8px |
--progress-arc-color |
Color of the arc. | #00aa00 |
--progress-arc-rest-color |
Color of the remaining part to complete the circle. | transparent |
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
angle |
angle |
number |
0 |
|
circumference |
circumference |
number |
360 |
|
complete |
complete |
Expression evaluating to float [0.0, 1.0] | number |
undefined |
counterClockwise |
counter-clockwise |
Indicating if the progress should instead be counter clockwise | boolean |
false |
size |
size |
Size of element in pixels. | number |
undefined |
graph TD;
hattrick-rating --> hattrick-progress-arc
style hattrick-progress-arc fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS