Constructor
new Toggler(formElementId, callback, togglerParametersopt, optionsopt)
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
formElementId |
string | The |
|||||||||||||||||
callback |
function | The callback function for the |
|||||||||||||||||
togglerParameters |
object |
<optional> |
{} | The parameters to initialize the toggler. Properties
|
|||||||||||||||
options |
object |
<optional> |
{} | Parameters considered to generate the component. Properties
|
- Implements:
- Source:
Members
domElement :HTMLDivElement
Reference to the DOM object that contains the HTML structure of the component.
Type:
- HTMLDivElement
- Implements:
- Source:
input :HTMLInputElement
Reference to the DOM object representing the <input>
element handled
by the toggler.
Type:
- HTMLInputElement
- Source:
Methods
disable()
Disables the component.
- Implements:
- Source:
enable()
Enables the component.
- Implements:
- Source: