packages/ecl/components/ecl-content-item/ecl-content-item.component.ts
| selector | ecl-content-item |
| templateUrl | ./ecl-content-item.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| hasDivider |
Type : boolean
|
Default value : false
|
|
Whether to display a divider below the content item. When true, the component will have a visual divider applied. Default is false. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'article'
|
|
ARIA role attribute for the host element. Set to "article" to denote standalone content. |
| class |
Type : string
|
|
Computes the CSS class string applied to the host element, depending on layout and configuration options. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclContentBlock |
Type : EclContentBlockComponent
|
Decorators :
@ContentChild(undefined)
|
|
Reference to projected content block. Used to apply internal styling and structure. |
| eclContentBlockTitle |
Type : EclContentBlockTitleDirective
|
Decorators :
@ContentChild(undefined, {descendants: true})
|
|
Reference to projected title directive inside the content block. Used for linking behavior. |
| eclContentItemImage |
Type : EclContentItemImageDirective
|
Decorators :
@ContentChild(undefined, {descendants: true})
|
|
Reference to projected image directive. Used to bind interaction behavior (click propagation). |
| eclContentItemPicture |
Type : EclContentItemPictureDirective
|
Decorators :
@ContentChild(undefined)
|
|
Reference to projected picture directive, used to determine layout mode (stacked). |
| eclDateBlock |
Type : EclDateBlockComponent
|
Decorators :
@ContentChild(undefined)
|
|
Reference to projected date block component. Used to set styling and determine layout mode. |
| role |
Type : string
|
Default value : 'article'
|
Decorators :
@HostBinding('attr.role')
|
|
ARIA role attribute for the host element. Set to "article" to denote standalone content. |
| cssClasses |
getcssClasses()
|
|
Computes the CSS class string applied to the host element, depending on layout and configuration options.
Returns :
string
|