new CategoryFilter(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:
expandParents(item)
- Description:
Expand parents of the given item.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
item |
Node |
handleClickExpand(e)
- Description:
Expand tree list item.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
Event |
init()
- Description:
Initialise component.
- Source:
(static) autoInit(root) → {CategoryFilter}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
root |
HTMLElement | DOM element for component instantiation and scope |
Returns:
An instance of CategoryFilter.
- Type
- CategoryFilter