packages/ecl/components/ecl-list-illustration/ecl-list-illustration.component.ts
Component representing a list using ECL illustration styles.
Supports zebra styling, responsive horizontal layout, and font size options.
| selector | ecl-list-illustration |
| templateUrl | ./ecl-list-illustration.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
constructor(cdkBreakpointObserver: BreakpointObserver)
|
||||||
|
Parameters :
|
| fontSize |
Type : "m" | "l"
|
Default value : 'l'
|
|
Font size for list content. Possible values:
|
| horizontalColumns |
Type : number
|
Default value : 0
|
|
Number of horizontal columns. If greater than |
| isZebra |
Type : boolean
|
Default value : false
|
|
Enables zebra style (alternating background colors for list items). |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'list'
|
|
Applies ARIA role for list elements. |
| class |
Type : string
|
|
Applies the appropriate ECL CSS classes to the host element. |
| style.display |
Type : string | null
|
|
Controls |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| role |
Type : string
|
Default value : 'list'
|
Decorators :
@HostBinding('attr.role')
|
|
Applies ARIA role for list elements. |
| cssClasses |
getcssClasses()
|
|
Applies the appropriate ECL CSS classes to the host element.
Returns :
string
|
| elementDisplayStyle |
getelementDisplayStyle()
|
|
Controls
Returns :
string | null
|