Skip to content
ExamplesOpen editor ↗

setaeleSaElemente

Reads or sets a CSS style.

setaeleSaElemente(elemente, CSS, [boleng])

One property name reads its computed style. Property/value sets it; a CSS declaration string is also accepted. CSS property names and units remain unchanged. Setter returns the receiver.

NameTypeDescription
elementeelementeThe element wrapper receiver.
CSSmokwaloCSS property name or declarations.
boleng (optional)`mokwalopalo`
Reads or sets a CSS style.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaTemana("Dumela");
  setaeleSaElemente(e, "color", "teal");
}

bopaTemana, dirisaMoGo