Experimental: this API is experimental and might be changed or removed in the future.

ButtonConstructor

Switch to Manual
public Button ();
public Button (Action clickEvent);

Parameters

clickEventAction triggered when the button is clicked.

Description

Constructs a Button.