packages/ecl/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-list.component.ts
| selector | ecl-category-filter-list |
| templateUrl | ./ecl-category-filter-list.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.aria-controls |
Type : string
|
|
ARIA attribute that points to the element controlled by this list (if applicable). |
| attr.role |
Type : string
|
Default value : 'list'
|
|
Sets ARIA role to "list" for accessibility purposes. |
| class.ecl-category-filter__list |
Type : boolean
|
Default value : true
|
|
Adds the base class for the category filter list component. |
| updateChildrenItemsLevel | ||||||||
updateChildrenItemsLevel(value: number)
|
||||||||
|
Propagates the current level to all direct children items.
Parameters :
Returns :
void
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| className |
Type : unknown
|
Default value : true
|
Decorators :
@HostBinding('class.ecl-category-filter__list')
|
|
Adds the base class for the category filter list component. |
| controls |
Type : string
|
Decorators :
@HostBinding('attr.aria-controls')
|
|
ARIA attribute that points to the element controlled by this list (if applicable). |
| eclCategoryFilterItems |
Type : QueryList<EclCategoryFilterItemComponent>
|
Decorators :
@ContentChildren(undefined)
|
|
List of all category filter items projected inside this list. |
| role |
Type : string
|
Default value : 'list'
|
Decorators :
@HostBinding('attr.role')
|
|
Sets ARIA role to "list" for accessibility purposes. |
| level | ||||||
getlevel()
|
||||||
|
Gets the nesting level of this list in the category tree.
Returns :
number
|
||||||
setlevel(value: number)
|
||||||
|
Sets the level of the list and applies it to all its children.
Parameters :
Returns :
void
|
| hasChildren |
gethasChildren()
|
|
Returns true if the list contains one or more category filter items.
Returns :
boolean
|
| children |
getchildren()
|
|
Returns the list of child components.
Returns :
EclCategoryFilterItemComponent[]
|