Skip to content
ExamplesOpen editor ↗

bopaTlhophoYaMmala

→ createColorPicker()

Creates a colour picker.

bopaTlhophoYaMmala([mmala])

Returns a native element wrapper. Use the receiver helpers to read or update it. dirisaMoGo(picker, bopaMmala) returns a colour. Set the CSS value with bolengJwaElemente(picker, “#238b9c”).

NameTypeDescription
mmala (optional)`mokwalommala`
Creates a colour picker.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaTlhophoYaMmala("#238b9c");
  faGoTsenngwa(e, () => kwala(dirisaMoGo(e, bopaMmala)));
}

bopaTemana, dirisaMoGo