packages/ecl/components/ecl-list-illustration/ecl-list-illustration-picture.directive.ts
Directive applied to <picture> elements within ECL list illustrations.
Adds the necessary ECL CSS classes for illustration pictures.
| Selector | picture[eclListIllustrationPicture] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| isSquare |
Type : boolean
|
Default value : false
|
|
If true, image is styled with square dimensions. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Applies the base ECL picture classes for list illustration pictures. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclIllustrationImage |
Type : EclListIllustrationImageDirective
|
Decorators :
@ContentChild(undefined)
|
| cssClasses |
getcssClasses()
|
|
Applies the base ECL picture classes for list illustration pictures.
Returns :
string
|