Search.../

buttonLabel

Sets or gets the button's label (the text that appears on the button).

Type:

stringRead & Write

Related Content:

Was this helpful?

Get a button's label

Copy Code
1let label = $w("#myButton").buttonLabel; // "Open Dashboard"
Set a button's label

Copy Code
1$w("#myButton").buttonLabel = "Open Dashboard";