File

packages/ecl/components/ecl-featured/ecl-featured.component.ts

Description

Custom ECL component, that adds visual support to a piece of content. Uses .

Extends

ECLBaseDirective

Metadata

Index

Properties
Methods
Inputs
HostBindings
Accessors

Inputs

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

HostBindings

attr.role
Type : string
Default value : 'article'
class
Type : string

Adds specific classes to the component.

Methods

getCssClasses
getCssClasses(rootClass: string)
Parameters :
Name Type Optional
rootClass string No
Returns : string

Properties

role
Type : string
Default value : 'article'
Decorators :
@HostBinding('attr.role')

Accessors

cssClasses
getcssClasses()

Adds specific classes to the component.

Returns : string

results matching ""

    No results matching ""