class

ProgressBar

@Js
class ProgressBar : Elem

ProgressBar visualizes progress of a long running operation

See also: docDomkit

constructors make

fields val

Current progress value

min

Min progress value

max

Max progress value

methods onText

Callback to get progress bar text when val is modified

onBarColor

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

make new make(|This|? f)

max Int : max

Max progress value.

min Int : min

Min progress value.

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

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

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

Callback to get progress bar text when val is modified.

val Int : val

Current progress value.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST