type

ProgressBar

src @Js
class ProgressBar : Elem

ProgressBar visualizes progress of a long running operation

See also: docDomkit

constructors

fields

max

Max progress value.

min

Min progress value.

val

Current progress value.

methods

onBarColor

Callback to get progress bar color (as CSS color value) when val is modified.

onText

Callback to get progress bar text when val is modified.

Slot Details

make

src new make(|This|? f := null)

max

src Int max := 100

Max progress value.

min

src Int min := 0

Min progress value.

onBarColor

src Void onBarColor(|ProgressBar->Str| f)

Callback to get progress bar color (as CSS color value) when val is modified.

onText

src Void onText(|ProgressBar->Str| f)

Callback to get progress bar text when val is modified.

val

src Int val := 0

Current progress value.