tlhophaElemente
→ select()Finds the first matching element.
tlhophaElemente(CSS, [setshodi])Returns element wrapper or null. Selectors use ordinary CSS syntax. An optional container limits the search.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
CSS | mokwalo | CSS selector. |
setshodi (optional) | `mokwalo | elemente` |
Examples
Section titled “Examples”tiro setaLoeto() {
tlosaKanefase();
diri e = bopaTemana("Dumela");
nonofoYaElemente(e, "id", "mola");
setaeleSaElemente(tlhophaElemente("#mola"), "color", "teal");
}