core/common/outlet.directive.ts
Directive to set a DOM node, a TemplateRef or any Component to a container or any node.
note: If template is instance of HTMLElement (for example, node compiled by angularJS) then there can be only single instance rendered, as only one instance of HTMLElement can exist in DOM. If there is need for displaying same element multiple times, please make sure to inject into this element createCopy function, which should return another instance of given element.
Selector | [c8yOutlet] |
Inputs |
Accessors |
constructor(viewContainer: ViewContainerRef, injector: Injector, renderer: Renderer2, el: ElementRef)
|
|||||||||||||||
Parameters :
|
c8yOutlet |
Directive to set a DOM node, a TemplateRef or any Component to a container or any node. |
c8yOutletInjector |
Allows to use a different injector. |
c8yOutletProperties |
Type : any
|
Additional properties that should be added to the component instance. |
c8yOutlet | ||||||
setc8yOutlet(template: TemplateRef
|
||||||
Directive to set a DOM node, a TemplateRef or any Component to a container or any node.
Parameters :
Example :
Returns :
void
|
c8yOutletProperties | ||||
setc8yOutletProperties(value)
|
||||
Additional properties that should be added to the component instance.
Parameters :
Returns :
void
|
c8yOutletInjector | ||||||
setc8yOutletInjector(value: Injector)
|
||||||
Allows to use a different injector.
Parameters :
Returns :
void
|