packages/ecl/components/ecl-featured/ecl-featured.component.ts
Custom ECL component, that adds visual support to a piece of content. Uses
OnInit
| selector | ecl-featured |
| templateUrl | ./ecl-featured.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| 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 : "highlight" | "simple"
|
|
'highligh' varian, applies class to make more stand out appearance of the component. |
| 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
|