packages/ecl/components/ecl-list-illustration/ecl-list-illustration-item.component.ts
Component representing a single item in an ECL illustration list.
Displays optional title, value, and one or more illustration icons.
| selector | ecl-list-illustration-item |
| templateUrl | ./ecl-list-illustration-item.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| eclTitle |
Type : string
|
Default value : ''
|
|
Text displayed as the item title. |
| eclValue |
Type : string
|
Default value : ''
|
|
Text displayed as the item value. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'listitem'
|
|
Applies ARIA role for list items. |
| class.ecl-list-illustration__item |
Type : boolean
|
Default value : true
|
|
Applies ECL class for illustration list item. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| className |
Default value : true
|
Decorators :
@HostBinding('class.ecl-list-illustration__item')
|
|
Applies ECL class for illustration list item. |
| eclIllustrationIcons |
Type : QueryList<EclListIllustrationIconDirective>
|
Decorators :
@ContentChildren(undefined)
|
| role |
Type : string
|
Default value : 'listitem'
|
Decorators :
@HostBinding('attr.role')
|
|
Applies ARIA role for list items. |
| hasTitle |
gethasTitle()
|
|
Returns
Returns :
boolean
|
| hasValue |
gethasValue()
|
|
Returns
Returns :
boolean
|