packages/ecl/components/ecl-spotlight/ecl-spotlight-elements.directive.ts
Directive representing the image within spotlight component. Automatically applies the corresponding ECL class.
| Selector | img[eclSpotlightImage] |
Properties |
Methods |
Inputs |
HostBindings |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class.ecl-spotlight__image |
Type : boolean
|
Default value : true
|
|
Adds the ECL CSS classes. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| hasClass |
Type : unknown
|
Default value : true
|
Decorators :
@HostBinding('class.ecl-spotlight__image')
|
|
Adds the ECL CSS classes. |