constructor([text])
Class: Button.
Description:
Button constructor.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
Button text |
Examples:
this.button1 = new Button().text("Click Me");
this.button2 = new Button("Click Me");
