ui.Button.setLabel

Sets the button's label.

Returns this button.

UsageReturns
Button.setLabel(label)ui.Button
ArgumentTypeDetails
this: ui.buttonui.Button

The ui.Button instance.

labelString

The button's label.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!