Footer component is used as the global footer for all views. Contains copyright data and links to related documents.
Footer contains your application’s secondary menu items that perform an action when clicked. Each action in the footer should navigate to a href or trigger another action like a modal overlay.
| || ||An array of items for the main footer links. Items have to include mandatory "label", "href" and "icon" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the anchor tag.|| || |
| || ||The currently active language. This setting changes the logo to match the chosen language. Can be one of: "fi", "en", "sv".|| || |
| || ||URL that the logo link points to.|| || |
| || ||Controls the margin of the component. Can be one of: "auto", "none".|| || |
| || ||An array of items for the small footer menu. Items have to include mandatory "label" and "href" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the anchor tag.|| || |
| || ||Theme of the navigation. Can be one of: "default", "turva".|| || |
| || ||Style variation of the footer. Can be one of: "default", "simple".|| || |
| ||Event raised when an items with an associated analytics ID is clicked. Analytics ID can be accessed via event.detail.analyticsId|| |
| ||Callback for when a user is about to navigate to another page. You can prevent the default browser functionality by calling event.detail.originalEvent.preventDefault() inside your listener. Additionally, the passed data is available via event.detail.data.|| |
refresh() => Promise<void> #
Forces render() update for
duet-nav. Use this when e.g. changing the global language.
Depends on #
duet-footer --> duet-logo
duet-footer --> duet-visually-hidden
style duet-footer fill:#f9f,stroke:#333,stroke-width:4px
Follow these practical tutorials to learn how to build simple page layouts using Duet’s CSS Framework, Web Components and other features:
Using CLI ToolsTutorials
Creating Custom PatternsTutorials
Server Side RenderingTutorials
If you experience any issues while using a component, please head over to the Support page for more guidelines and help.