Interface FeatureAppContainerElement

A custom element defined by defineFeatureAppContainer as feature-app-container.

It is possible to pass a slot named error to the feature-app-container element which is rendered if the Feature App could not be created or if the Feature App throws in its DomFeatureApp.attachTo method.

Hierarchy

  • HTMLElement
    • FeatureAppContainerElement

Properties

baseUrl?: string

The absolute or relative base URL of the Feature App's assets and/or BFF.

config?: unknown

A config object that is passed to the Feature App's create method.

featureAppDefinition?: FeatureAppDefinition<DomFeatureApp, FeatureServices, unknown>

The definition of the Feature App that should be rendered.

featureAppId: string

The Feature App ID is used to identify the Feature App instance. Multiple Feature App Loaders with the same featureAppId will render the same Feature app instance. The ID is also used as a consumer ID for dependent Feature Services. To render multiple instances of the same kind of Feature App, different IDs must be used.

featureAppName?: string

The Feature App's name. In contrast to the featureAppId, the name must not be unique. It can be used by required Feature Services for display purposes, logging, looking up Feature App configuration meta data, etc.

Generated using TypeDoc