Sets the innerText
property of the DOM Element node and updates the internal sizes.
Note that only certain types of Elements can have innerText
set on them.
name | type | description |
---|---|---|
text | string |
A DOMString representing the rendered text content of the element. |
This DOM Element instance.