packages/ecl/components/ecl-page-header/ecl-page-header-next/ecl-page-header-next.component.ts
ECL Page Header component, wraps header content and handles background images and breadcrumb styling.
| selector | div[eclPageHeader] |
| templateUrl | ./ecl-page-header-next.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| variant |
Type : '50-50' | 'news' | null
|
Default value : null
|
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
CSS classes applied to the host. Adds 'ecl-page-header--image' if a background picture exists |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclBackgroundPicture |
Type : unknown
|
Default value : contentChild(EclPageHeaderBackgroundPictureDirective, { descendants: true})
|
|
Reference to the background picture directive, if present. |
| eclBreadcrumbComponent |
Type : unknown
|
Default value : contentChild(EclBreadcrumbComponent)
|
|
Reference to the ECL breadcrumb inside the header. |
| eclPageHeaderContainer |
Type : unknown
|
Default value : contentChild(EclPageHeaderContainerDirective)
|
|
Reference to the container, if present. |
| hasDescriptioncontainer |
Type : unknown
|
Default value : computed(() => !!this.eclBackgroundPicture())
|
|
True if a background picture exists. |
| hasPicture |
Type : unknown
|
Default value : computed(() => !!this.eclBackgroundPicture())
|
|
True if a background picture exists. |
| cssClasses |
getcssClasses()
|
|
CSS classes applied to the host. Adds 'ecl-page-header--image' if a background picture exists
Returns :
string
|