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".|| || |
| ||Callback for when an user is about to navigate to another page. You can prevent the default browser functionality by calling event.detail.originalEvent.preventDefault() inside yout 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
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:
If you experience any issues while using a component, please head over to the Support page for more guidelines and help.