core/common/outlet.directive.ts

Description

Directive to set a DOM node, a TemplateRef or any Component to a container or any node.

Example :
<div *c8yOutlet="template"></div>
<div *c8yOutlet="DeviceStatusComponent; properties: { node }"></div>
<div *c8yOutlet="nodes"></div>

Note: When passing a native HTMLElement, be aware that a single element instance can only exist in one place in the DOM. If you need to render the same element in multiple locations, the passed element should have a createCopy function that returns a new instance or a clone of the element.

Example

Metadata

Relationships

results matching ""

    No results matching ""