Skip to content
ExamplesOpen editor ↗

ngwanaWaElemente

Reads children or appends a child.

ngwanaWaElemente(elemente, [ngwana])

Without a child returns the live childNodes NodeList. Accepts a element wrapper, native element or id. Appending returns the receiver.

NameTypeDescription
elementeelementeThe element wrapper receiver.
ngwana (optional)`elementemokwalo`
Reads children or appends a child.
tiro setaLoeto() {
  tlosaKanefase();
  diri p = bopaDiv("Lelapa");
  ngwanaWaElemente(p, bopaTemana("Ngwana"));
}

bopaTemana, dirisaMoGo