packages/ecl/components/ecl-navigation-list/ecl-navigation-list-item.component.ts
Component that represents one navigation list item, has title and image and/or list of links/secondary links.
| selector | ecl-navigation-list-item |
| templateUrl | ecl-navigation-list-item.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| variant |
Type : "illustration" | "image-as-illustration" | string
|
Default value : ''
|
|
Different variants, that add styling for different type of displaing the picture, used in the list item. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'article'
|
|
The role of the underlying HTML element is 'article', should not be changed. |
| class |
Type : string
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclContentBlock |
Type : EclContentBlockComponent
|
Decorators :
@ContentChild(undefined)
|
| hasBorder |
Type : unknown
|
Default value : true
|
| role |
Type : string
|
Default value : 'article'
|
Decorators :
@HostBinding('attr.role')
|
|
The role of the underlying HTML element is 'article', should not be changed. |
| cssClasses |
getcssClasses()
|