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.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
elemente | elemente | The element wrapper receiver. |
x (optional) | palo | Horizontal position. |
y (optional) | palo | Vertical position. |
mokgwa (optional) | mokwalo | CSS position mode. |
Examples
Section titled “Examples”tiro setaLoeto() {
tlosaKanefase();
diri e = bopaKonopo("Dumela");
lefeloLaElemente(e, 30, 50);
}