_innerText()
_innerText(
x,s):HTMLElement
Defined in: js-api/ui.ts:113
Internal
Internal helper to set element inner text and return the element for chaining. Prefer using standard DOM APIs or ui.div/ui.span with content directly.
Parameters
| Parameter | Type |
|---|---|
x | HTMLElement |
s | string |
Returns
HTMLElement