packages/ecl/components/ecl-card/ecl-card-picture.directive.ts
Directive for the image element used in ECL Card. Applies the ECL-specific image class for card usage.
| Selector | img[eclCardImage] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Returns the CSS classes to apply to the image element. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| el |
Type : unknown
|
Default value : inject(ElementRef)
|
| cssClasses |
getcssClasses()
|
|
Returns the CSS classes to apply to the image element.
Returns :
string
|