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