text
The text method is used to get or set the text content of an element.
Direct Use
You can directly get or set the text content of an element.
target 1
origin text
Template Syntax Usage
You can also use the :text attribute to set the corresponding text value for the target element. This is particularly useful in component rendering.
Rendered text: