projects/dvk/src/lib/dynamic-components/dynamic-component-model/dynamic-component-model.model.ts
This model combines DynamicComponentData with an optional set of observable streams to tie to inputs and callbacks to tie to EventEmitters in the dynamically created component.
Properties |
|
inputs$ |
inputs$:
|
Type : InputStreams<T>
|
Optional |
outputCallbacks |
outputCallbacks:
|
Type : OutputCallbacks<T>
|
Optional |
providers |
providers:
|
Type : Provider[]
|
Optional |
import { Provider } from "@angular/core";
import { InputStreams } from "../input-streams/input-streams.model";
import { OutputCallbacks } from "../output-callbacks/output-callbacks.model";
import { DynamicComponentData } from '../dynamic-component-data/dynamic-component-data.model';
/**
* This model combines {@link DynamicComponentData} with
* an optional set of observable streams to tie to inputs
* and callbacks to tie to EventEmitters in the
* dynamically created component.
*/
export interface DynamicComponentModel<T> extends DynamicComponentData<T> {
inputs$?: InputStreams<T>;
outputCallbacks?: OutputCallbacks<T>;
providers?: Provider[],
}