A clickable button with a text label.

ui.Button(label, onClick, disabled, style)ui.Button
labelString, optional

The button's label. Defaults to an empty string.

onClickFunction, optional

A callback fired when the button is clicked. The callback is passed the button widget.

disabledBoolean, optional

Whether the button is disabled. Defaults to false.

styleObject, optional

An object of allowed CSS styles with their values to be set for this widget. Defaults to an empty object.