NgElementConfig

A configuration that initializes an NgElementConstructor with the dependencies and strategy it needs to transform a component into a custom element class.

interface NgElementConfig { injector: Injector strategyFactory?: NgElementStrategyFactory }

属性

属性名类型说明
injector

The injector to use for retrieving the component's factory.

strategyFactory

An optional custom strategy factory to use instead of the default. The strategy controls how the tranformation is performed.