Search.../

text

Sets or gets the text of a dashboard heading element.

Description

Use the text property to set the content of the dashboard heading element. Any existing text is replaced.

Max: 1200 characters

Type:

stringRead & Write

Was this helpful?

Get the dashboard heading's text

Copy Code
1let myContent = $w('#myHeading').text; // "Heading text"
Set the dashboard heading's text to the specified value

Copy Code
1$w('#myHeading').text = "Heading";