Aurelia Loading Indicators
aurelia-loaders
This is an aurelia compatible plugin for loading indicators.
install @bmaxtech/aurelia-loaders
via npm
or yarn
npm i @bmaxtech/aurelia-loaders --save
or
yarn add @bmaxtech/aurelia-loaders
then register plugin with your application
aurelia.use.plugin(PLATFORM.moduleName('@bmaxtech/aurelia-loaders'))
use progress-bar
or spinner
element within your application
progress-bar
and spinner
elements#B0BEC5
- default
#2196F3
- primary
#323a45
- secondary
#64DD17
- success
#FFD600
- warning
#29B6F6
- info
#ef1c1c
- danger
progress-bar
elementpreview
basic usage
<progress-bar progress="50"></progress-bar>
advance usage
true
, the progress bar will be automatically incremented | default = falseprimary
, secondary
, success
, info
, warning
or danger
| default = primary
undefined
true
<progress-bar style-class="" height="" progress="" step="" timer="" timer-interval="" theme="" on-complete.call="" show-value=""></progress-bar>
spinner
elementcommon options :
S1 to S14
| default = S1
40
black
<spinner type="" style-class="" size="" color=""></spinner>
Spinner | Preview | Options |
---|---|---|
S1 |
![]() |
type: S1 , size: 100 , color: HEX or RGB value |
S2 |
![]() |
type: S2 , size: 100 , color: HEX or RGB value |
S3 |
![]() |
type: S3 , size: 100 , color: HEX or RGB value |
S4 |
![]() |
type: S4 , size: 100 , color: HEX or RGB value |
S5 |
![]() |
type: S5 , size: 100 , color: HEX or RGB value |
S6 |
![]() |
type: S6 , size: 100 , color: HEX or RGB value |
S7 |
![]() |
type: S7 , size: 100 , color: HEX or RGB value |
S8 |
![]() |
type: S8 , size: 100 , color: [default , primary , secondary , success , warning , info , danger ] |
S9 |
![]() |
type: S9 , size: 100 , color: HEX or RGB value |
S10 |
![]() |
type: S10 , size: 100 , color: [default , primary , secondary , success , warning , info , danger ] |
S11 |
![]() |
type: S11 , size: 100 , color: [default , primary , secondary , success , warning , info , danger ] |
S12 |
![]() |
type: S12 , size: 100 , color: HEX or RGB value |
S13 |
![]() |
type: S13 , size: 100 , color: HEX or RGB value |
S14 |
![]() |
type: S14 , size: 100 , color: [default , primary , secondary , success , warning , info , danger ] |