You are viewing documentation for a previous version of FAST. The latest version is 3.x. View latest docs →

@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.