Search.../

text

Sets or gets the plain-text contents of a text element.

Max: 1200 characters

Type:

stringRead & Write

Was this helpful?

Get the dashboard text element's plain-text content

Copy Code
1let dashboardText = $w('#myDashboardText').text; // "Some text"
Set the dashboard text element's plain-text content

Copy Code
1$w('#myDashboardText').text = "Some text";