new DescriptionList(element, options)
- Source:
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
element |
HTMLElement | DOM element for component instantiation and scope |
|||||||||||||||
options |
Object |
Properties
|
Classes
Methods
destroy()
- Description:
Destroy component.
- Source:
handleClickOnMore(e)
- Description:
Expands the list of items.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
Event |
init()
- Description:
Initialise component.
- Source:
showHide()
- Description:
showHide elements basing on user preference.
- Source:
(static) autoInit(root) → {DescriptionList}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
root |
HTMLElement | DOM element for component instantiation and scope |
Returns:
An instance of DescriptionList.
- Type
- DescriptionList