Skip to content
ExamplesOpen editor ↗

bopaKonopo

→ createButton()

Creates a button.

bopaKonopo([mokwalo], [boleng])

Returns a native element wrapper. Use the receiver helpers to read or update it.

NameTypeDescription
mokwalo (optional)mokwaloDisplayed text or HTML.
boleng (optional)mokwaloButton value.
Creates a button.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaKonopo("Dumela");
  dirisaMoGo(e, pebaEKonyilwe, () => bopaTemana("Dumela!"));
}

bopaTemana, dirisaMoGo