virtual class domkit::ProgressBar

sys::Obj
  dom::Elem
    domkit::ProgressBar

@Js

Source

ProgressBar visualizes progress of a long running operation

See also: docDomkit

make

new make(Func<Void,This>? f := null)

Source

max

Int max := 100

Source

Max progress value.

min

Int min := 0

Source

Min progress value.

onBarColor

Void onBarColor(Func<Str,ProgressBar> f)

Source

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

onText

Void onText(Func<Str,ProgressBar> f)

Source

Callback to get progress bar text when val is modified.

val

Int val := 0

Source

Current progress value.