packages/ecl/components/ecl-list-illustration/ecl-list-illustration-picture.directive.ts
Directive applied to <img> elements within ECL list illustrations.
Supports square variant and size options for image styling.
| Selector | img[eclListIllustrationImage] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| size |
Type : "s" | "m" | "l"
|
Default value : 'm'
|
|
Defines the size variant of the image.
Possible values: |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Computes the appropriate ECL CSS classes for the image. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| isSquare |
Type : unknown
|
Default value : false
|
|
If true, image is styled with square dimensions. |
| cssClasses |
getcssClasses()
|
|
Computes the appropriate ECL CSS classes for the image.
Returns :
string
|