packages/ecl/components/ecl-category-filter/ecl-category-filter/ecl-category-filter.component.ts
| selector | ecl-category-filter |
| styles |
:host {
display: block;
}
|
| templateUrl | ./ecl-category-filter.component.html |
Properties |
Methods |
Inputs |
HostBindings |
| aria-label |
Type : string | null
|
Default value : 'Category filter'
|
|
Aria-label for the navigation role. Defaults to "Category filter". |
| currentItemId |
Type : string
|
|
ID of the currently selected item. When provided, the item with the matching ID will be marked as current and automatically expanded on initialization. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'navigation'
|
|
Defines the ARIA role for the host element. Always set to "navigation". |
| class.ecl-category-filter |
Type : boolean
|
Default value : true
|
|
Static class applied to the host element for styling.
Always returns true to include the |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclCategoryFilterItemsAll |
Type : QueryList<EclCategoryFilterItemComponent>
|
Decorators :
@ContentChildren(undefined, {descendants: true})
|
| eclCategoryList |
Type : EclCategoryFilterListComponent
|
Decorators :
@ContentChild(undefined)
|
| role |
Type : string
|
Default value : 'navigation'
|
Decorators :
@HostBinding('attr.role')
|
|
Defines the ARIA role for the host element. Always set to "navigation". |