Search...
label
Sets or gets a button's label.
Type:
stringRead & Write, default value is Empty string
Was this helpful?
Get a button's label
Copy Code
1let buttonLabel = $w("#mobileButton1").label; // "Submit"
Set a button's label
Copy Code
1$w("#myButton").label = "New Label";