Skip to content
ExamplesOpen editor ↗

tshwaoYaElemente

Reads or sets checkbox state.

tshwaoYaElemente(elemente, [tshwao])

No state argument returns a boolean. Passing a state updates the checkbox and returns its wrapper.

NameTypeDescription
elementeelementeThe element wrapper receiver.
tshwao (optional)boammaaruriChecked state; omit to read.
Reads or sets checkbox state.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaLebokosoLaTshwao("Bontsha");
  tshwaoYaElemente(e, nnete);
}

bopaTemana, dirisaMoGo