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.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
mokwalo (optional) | mokwalo | Displayed text or HTML. |
tshwao (optional) | boammaaruri | Initial checked state. |
Examples
Section titled “Examples”tiro setaLoeto() {
tlosaKanefase();
diri e = bopaLebokosoLaTshwao("Bontsha", nnete);
faGoFetoga(e, () => kwala(tshwaoYaElemente(e)));
}