Progress

fun <T> Progress(min: T, max: T, classes: Set<String> = setOf(), init: Progress<T>.() -> Unit? = null)

Parameters

min

the minimal value

max

the maximal value

classes

a set of CSS class names

init

an initializer extension function

fun <T> Progress(bounds: Bounds<T>, classes: Set<String> = setOf(), init: Progress<T>.() -> Unit? = null)

Parameters

T

the type that describes the progress, typically @see Number

bounds

bounds of the progress

classes

a set of CSS class names

init

an initializer extension function