Methods
# static addButton(text, iconopt, helpTipopt, addOptionsopt, optionsWithoutPanelopt)
Changes the background color of the button.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
text |
string
|
The button text. | ||
icon |
string
|
<optional> |
The path to the icon | |
helpTip |
string
|
<optional> |
The button help tip | |
addOptions |
Boolean
|
<optional> |
false | Whether to add more options |
optionsWithoutPanel |
Boolean
|
<optional> |
false | Whether the options need a dedicated panel |