[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/elements/NgElementConfig [Back]  [Original]

NgElementConfig Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/elements

NgElementConfig

interface
stable

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

On this page

    arrow_upward_alt Back to the top

    API

        
          interface NgElementConfig {  injector: Injector;  strategyFactory?: NgElementStrategyFactory | undefined;}
        
        

    injector

    Injector

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

    strategyFactory

    NgElementStrategyFactory | undefined

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

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page