Skip to content
ExamplesOpen editor ↗

bopaMotshwantshi

→ createSlider()

Creates a slider.

bopaMotshwantshi(bonnye, bogolo, [boleng], [kgato])

Returns a native element wrapper. Use the receiver helpers to read or update it. The value getter returns a number for range and number inputs.

NameTypeDescription
bonnyepaloMinimum.
bogolopaloMaximum.
boleng (optional)paloInitial value.
kgato (optional)paloStep; zero allows continuous values.
Creates a slider.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaMotshwantshi(0, 100, 40, 1);
  faGoTsenngwa(e, () => kwala(bolengJwaElemente(e)));
}

bopaTemana, dirisaMoGo