packages/ecl/components/ecl-site-footer/ecl-site-footer.component.ts
The site footer component content provides supplementary information such as a sitemap, copyright and legal notices, privacy and accessibility statements, social media and contact information as well as various links to other important sections within the EC ecosystem.
| encapsulation | ViewEncapsulation.None |
| selector | footer[eclSiteFooter], ecl-site-footer |
| imports |
AsyncPipe
NgTemplateOutlet
EclSiteFooterRowCommonComponent
EclSiteFooterFixedContentEUComponent
EclSiteFooterCoreComponent
|
| styleUrls | ./ecl-site-footer.css |
| templateUrl | ./ecl-site-footer.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
constructor()
|
| a11yStatementRef |
Type : string
|
Default value : 'https://commission.europa.eu/accessibility-statement_en'
|
|
The URL of the accessibility statement. It should be provided by the user, but if not, a default one from the Europa web guide will be used. |
| isCore |
Type : boolean
|
Default value : false
|
|
If it's a core site footer. The content of the footer for the Core configuration is specific and all items mandatory. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'contentinfo'
|
|
The role of the component is 'contentinfo' and should not be changed. |
| class |
Type : string
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclThemeService |
Type : unknown
|
Default value : inject(EclThemeService)
|
| languageCode |
Type : string
|
Default value : 'en'
|
|
The current language of the page. |
| role |
Type : string
|
Default value : 'contentinfo'
|
Decorators :
@HostBinding('attr.role')
|
|
The role of the component is 'contentinfo' and should not be changed. |
| cssClasses |
getcssClasses()
|
| logoLanguageCode |
getlogoLanguageCode()
|
|
This method is used, when current language is not present for our available logo collection. In this case, a default logo is returned.
Returns :
string
|