Constructor
new AddButton(callback, buttonAttributesopt, optionsopt)
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
callback |
function | The callback function for the |
||||||||||||||
buttonAttributes |
object |
<optional> |
{} | The parameters to consider as
attributes for the HTML Properties
|
||||||||||||
options |
object |
<optional> |
{} | Parameters considered to generate the component. Properties
|
- Implements:
- Source:
Members
button :HTMLButtonElement
Reference to the DOM object representing the <button>
element.
Type:
- HTMLButtonElement
- Source:
domElement :HTMLDivElement
Reference to the DOM object that contains the HTML structure of the component.
Type:
- HTMLDivElement
- Implements:
- Source:
Methods
disable()
Disables the component.
- Implements:
- Source:
enable()
Enables the component.
- Implements:
- Source: