Skip to content

Latest commit

 

History

History

progress-arc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

hattrick-progress-arc

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.

CSS variables

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

Properties

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

Dependencies

Used by

Graph

graph TD;
  hattrick-rating --> hattrick-progress-arc
  style hattrick-progress-arc fill:#f9f,stroke:#333,stroke-width:4px
Loading

Built with StencilJS