new Button( [options])
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Control options. Properties
|
Extends
Methods
-
getButtonElement()
-
Get the button element
Returns:
- Type
- Element
-
setHtml(html)
-
Set the button html
Parameters:
Name Type Description html
string -
setTitle(title)
-
Set the button title
Parameters:
Name Type Description title
string -
setVisible(b)
-
Set the control visibility
Parameters:
Name Type Description b
boolean