Skip to content
ExamplesOpen editor ↗

bopaTsenyo

→ createInput()

Creates a text input.

bopaTsenyo([boleng], [mofuta])

Returns a native element wrapper. Use the receiver helpers to read or update it. Input types such as text, password and number retain their HTML spellings.

NameTypeDescription
boleng (optional)mokwaloInitial value.
mofuta (optional)mokwaloHTML input type; defaults to text.
Creates a text input.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaTsenyo("Dumela");
  faGoTsenngwa(e, () => kwala(bolengJwaElemente(e)));
}

bopaTemana, dirisaMoGo