ProgressBar(value: Number? = null, secondaryValue: Number? = null, indeterminate: Boolean? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null)
Creates a progress bar component.
value
- the current progress (should be a value between 0 and 100)
secondaryValue
- the current secondary progress (should be a value between 0 and 100)
indeterminate
- whether infinite looping animation is shown
classes
- a set of CSS class names
init
- an initializer extension function
Constructor
Creates a progress bar component.