packages/ecl/components/ecl-content-item/ecl-content-item-image.directive.ts
Directive used for styling the inner image element inside the content item. Also used programmatically for interaction bindings.
| Selector | [eclContentItemImage] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Computed CSS classes for the host image element. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| el |
Type : unknown
|
Default value : inject(ElementRef)
|
| cssClasses |
getcssClasses()
|
|
Computed CSS classes for the host image element.
Returns :
string
|