packages/ecl/components/ecl-featured/ecl-featured.component.ts
Custom ECL component, that adds visual support to a piece of content. Uses
| selector | ecl-featured, article[eclFeatured] |
| templateUrl | ./ecl-featured.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| isLinkHighlighted |
Type : boolean
|
Default value : false
|
|
Gives a different display for the link in highlighted mode |
| position |
Type : "left" | "right"
|
Default value : 'left'
|
|
The position of the image in the component. Can be 'left' or 'right'. The default value is 'left'. |
| variant |
Type : unknown
|
|
'highligh' varian, applies class to make more stand out appearance of the component. |
| horizontalAlign |
Type : 'left' | 'center' | undefined
|
| isDynamicImage |
Default value : false, { transform: booleanAttribute }
|
| verticalAlign |
Type : 'top' | 'center' | undefined
|
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'article'
|
| class |
Type : string
|
|
Adds specific classes to the component. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| role |
Type : string
|
Default value : 'article'
|
Decorators :
@HostBinding('attr.role')
|
| cssClasses |
getcssClasses()
|
|
Adds specific classes to the component.
Returns :
string
|