Skip to main content
Version: 2.x

InterfaceConfiguration interface

@microsoft/fast-element/di.js > InterfaceConfiguration

InterfaceConfiguration interface

Used to configure a dependency injection interface key.

Signature:

export interface InterfaceConfiguration 

Properties

Property

Modifiers

Type

Description

friendlyName?

string

(Optional) The friendly name for the interface. Useful for debugging.

respectConnection?

boolean

(Optional) When true, the dependency will be re-resolved when FASTElement connection changes. If the resolved value changes due to connection change, a will be emitted for the property, with the previous and next values provided to any subscriber.