Class: DynamicComponentLoaderDirective
@flyze/lib-core-angular 1.0.0-alpha.34· latestDefined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:19
Implements
Section titled “Implements”OnInit
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DynamicComponentLoaderDirective(
componentResolver,viewContainerRef):DynamicComponentLoaderDirective
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:100
Parameters
Section titled “Parameters”componentResolver
Section titled “componentResolver”DynamicComponentResolverService
viewContainerRef
Section titled “viewContainerRef”ViewContainerRef
Returns
Section titled “Returns”DynamicComponentLoaderDirective
Properties
Section titled “Properties”componentLoaded
Section titled “componentLoaded”componentLoaded:
EventEmitter<ComponentRef<any>>
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:92
componentResolver
Section titled “componentResolver”componentResolver:
DynamicComponentResolverService
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:101
Accessors
Section titled “Accessors”config
Section titled “config”Get Signature
Section titled “Get Signature”get config():
DynamicComponentLoaderConfigWithConfig<any, {config:any; }> |DynamicComponentLoaderConfigWithoutConfig<any>
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:87
Returns
Section titled “Returns”DynamicComponentLoaderConfigWithConfig<any, { config: any; }> | DynamicComponentLoaderConfigWithoutConfig<any>
Set Signature
Section titled “Set Signature”set config(
value):void
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:38
Parameters
Section titled “Parameters”DynamicComponentLoaderConfigWithConfig<any, { config: any; }> | DynamicComponentLoaderConfigWithoutConfig<any>
Returns
Section titled “Returns”void
environment
Section titled “environment”Set Signature
Section titled “Set Signature”set environment(
value):void
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:71
The environment object that will be passed to the component if the component has an environment property or method The environment property is defined by the environmentKey
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”void
environmentKey
Section titled “environmentKey”Set Signature
Section titled “Set Signature”set environmentKey(
value):void
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:82
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
Methods
Section titled “Methods”ngOnInit()
Section titled “ngOnInit()”ngOnInit():
void
Defined in: projects/lib-core-angular/src/lib/directives/dynamic-component-loader/dynamic-component-loader.directive.ts:105
A callback method that is invoked immediately after the default change detector has checked the directive’s data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”OnInit.ngOnInit