Skip to content
ExamplesOpen editor ↗

bopaLebokosoLaTshwao

→ createCheckbox()

Creates a checkbox.

bopaLebokosoLaTshwao([mokwalo], [tshwao])

Returns a native element wrapper. Use the receiver helpers to read or update it. Use tshwaoYaElemente for boolean state, not the general value helper.

NameTypeDescription
mokwalo (optional)mokwaloDisplayed text or HTML.
tshwao (optional)boammaaruriInitial checked state.
Creates a checkbox.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaLebokosoLaTshwao("Bontsha", nnete);
  faGoFetoga(e, () => kwala(tshwaoYaElemente(e)));
}

bopaTemana, dirisaMoGo