Skip to main content

foundation-header.rapidheader

Home > @genesislcap/foundation-header > RapidHeader

RapidHeader class

RapidHeader is a rapid version of the header micro-frontend.

Signature:

export declare class RapidHeader extends Navigation 

Extends: Navigation

Remarks

A rapid version that pre-registers rapid components and uses the rapid design system so that it can run standalone. Generally this is used for development purposes, but can be deployed as a standalone application if required or be used by a host application that is already using rapid. RapidHeader and its components won't bloat the core bundle as these are only loaded on-demand when in use.

Example 1

import { RapidHeader } from '@genesislcap/foundation-header';
...
RapidHeader

Example 2

Load the micro frontend on-demand

  const { RapidHeader } = await import('@genesislcap/foundation-header');
},

Methods

Method

Modifiers

Description

selectTemplate()