Search.../

label

Sets or gets the label of a text button.

Type:

stringRead & Write, default value is Empty string

Was this helpful?

Get a button's label

Code Example

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

Code Example

Copy Code
1$w("#myButton").label = "New Label";