Constructor
new ScentButton(btn)
Parameters:
| Name | Type | Description |
|---|---|---|
btn |
HTMLElement | The button element. |
- Source:
Extends
Members
option :string
The option value for the button.
Type:
- string
- Overrides:
- Source:
Methods
addEventListener(…args)
Wrapper for the native addEventListener method.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
args |
any |
<repeatable> |
Arguments to pass to the addEventListener method. |
- Inherited From:
- Source: