src/services/compiler.service.ts
Methods |
|
constructor(compiler: Compiler, sdkConfigService: SdkConfigService)
|
|||||||||
Constructor.
Parameters :
|
Public createComponentFactoryAsync |
createComponentFactoryAsync(tmpl: string, componentCallback: Function)
|
Create dynamic component factory asynchronously with html template given in parameter
Returns :
Promise<ComponentFactory<any>>
|
Public createComponentFactorySync |
createComponentFactorySync(tmpl: string, componentCallback: Function)
|
Create dynamic component factory with html template given in parameter
Returns :
ComponentFactory<any>
|
Public injectCommentComponentAsync | |||||||||
injectCommentComponentAsync(tmpl: string, viewContainer: ViewContainerRef)
|
|||||||||
Call createComponentFactoryAsync with given html template and inject the result in given viewContainer
Parameters :
Returns :
Subject<any>
|
Public injectCommentComponentSync | |||||||||
injectCommentComponentSync(tmpl: string, viewContainer: ViewContainerRef)
|
|||||||||
Call createComponentFactorySync with given html template and inject the result in given viewContainer
Parameters :
Returns :
any
|