Progress Bar
Native HTML progress bars
To use a bulma progress bar in your application, you need to import the BulmaProgressbarModule
by adding the following lines to your app.module.ts
file.
Basic
To display the Progressbar component in your Angular application, add the buProgress
directive in the <progress>
element.
Directive | Description |
---|---|
buProgress |
For displaying a progress bar element as Bulma progress bar |
Properties | Description |
---|---|
theme |
Set the theme of the progress bar |
size |
Set the size of the progress bar |
value |
Set the current value of the progress bar. If not set then the progress bar will be displayed as an indeterminate progress bar |
max |
Set the upper limit of value property of the progress bar. If not set then the value in the value property is considered as max |
Default
Sizes
You can set the size of the progress bar using one the 4 size options:
small
normal
medium
large
Themes
You can change the theme of the progress bar using one the 9 theme options:
light
black
dark
primary
link
info
success
warning
danger
Indeterminate
The indeterminate progress bar is used to show that some progress is going on, but the actual duration is not yet determined. If you do not set the value
property of the progress bar then it will be displayed as an indeterminate progress bar.