Skip to main content
Version: 2.x

InterfaceConfiguration.respectConnection property

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

InterfaceConfiguration.respectConnection property

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.

Signature:

respectConnection?: boolean;