Skip to content
ExamplesOpen editor ↗

lefeloLaElemente

Reads or sets position.

lefeloLaElemente(elemente, [x], [y], [mokgwa])

No arguments returns DOM offsets {x, y}, including CSS margins. Coordinates set left/top in CSS pixels and default to absolute positioning. An optional CSS position mode is passed through. Setter returns the receiver.

NameTypeDescription
elementeelementeThe element wrapper receiver.
x (optional)paloHorizontal position.
y (optional)paloVertical position.
mokgwa (optional)mokwaloCSS position mode.
Reads or sets position.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaKonopo("Dumela");
  lefeloLaElemente(e, 30, 50);
}

bopaTemana, dirisaMoGo