packages/ecl/components/ecl-spotlight/ecl-spotlight.component.ts
Component representing a spotlight, based on the ECL design system. Serves as a container for structured content such as titles, images and links.
| selector | section[eclSpotlight] |
| templateUrl | ./ecl-spotlight.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| copyright |
Type : string
|
Default value : ''
|
| fontSize |
Type : "m" | "l"
|
Default value : 'l'
|
| hasAnchor |
Default value : false, { transform: booleanAttribute }
|
| header |
Type : string
|
| spotlightTitle |
Type : string
|
Default value : ''
|
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Binds the component's root CSS classes.
Adds the |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| spotlightLink |
Type : unknown
|
Default value : contentChild(EclSpotlightLinkComponent)
|
| cssClasses |
getcssClasses()
|
|
Binds the component's root CSS classes.
Adds the
Returns :
string
|