Progress

class Progress<T>(    bounds: Bounds<T>,     className: String? = null,     init: Progress<T>.() -> Unit? = null)

The Bootstrap progress

Parameters

T

the type that describes the progress, typically @see Number

bounds

bounds of the progress

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
fun <T> Progress(    min: T,     max: T,     className: String? = null,     init: Progress<T>.() -> Unit? = null)
Link copied to clipboard
fun <T> Progress(    bounds: Bounds<T>,     className: String? = null,     init: Progress<T>.() -> Unit? = null)

Functions

Link copied to clipboard
fun getFirstProgressBar(): ProgressBarTag<T>?

Returns the first progress bar.

Link copied to clipboard
fun getProgressBars(): List<ProgressBarTag<T>>

Returns the list of all progress bars.

Link copied to clipboard
fun setBounds(min: T, max: T)

Properties

Link copied to clipboard
val bounds: <ERROR CLASS>

Extensions

Link copied to clipboard
fun Progress<out Number>.progressNumeric(    initialValue: Number = 0,     contentGenerator: ContentGenerator<Number> = ContentGenerator { _, _, _ -> },     bgColor: BsBgColor? = null,     className: String? = null,     init: NumberProgressBarTag.() -> Unit? = null): <ERROR CLASS>