ui.Button

A clickable button with a text label.
UsageReturns
ui.Button(label, onClick, disabled, style, imageUrl)ui.Button
ArgumentTypeDetails
labelString, optionalThe button's label. Defaults to an empty string.
onClickFunction, optionalA callback fired when the button is clicked. The callback is passed the button widget.
disabledBoolean, optionalWhether the button is disabled. Defaults to false.
styleObject, optionalAn object of allowed CSS styles with their values to be set for this widget. Defaults to an empty object.
imageUrlString, optionalOptional image url. If provided, the button will be rendered as an image and the value text will be shown on mouse hover. Only data: urls and icons loaded from gstatic.com are allowed.