Constructor
# new Button(opts)
Initialization object
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
opts |
object | Button options. |
|
className |
string |
<optional> |
class of the control |
title |
number |
<optional> |
title of the control |
name |
boolean |
<optional> |
name of the control (optional), default none |
html |
number |
<optional> |
html to insert in the control |
handleClick |
function |
<optional> |
callback when control is clicked |
- Tutorials: