File

projects/dvk/src/lib/dynamic-components/dynamic-component-model/dynamic-component-model.model.ts

Description

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.

Extends

DynamicComponentData

Index

Properties

Properties

inputs$
inputs$: InputStreams<T>
Type : InputStreams<T>
Optional
outputCallbacks
outputCallbacks: OutputCallbacks<T>
Type : OutputCallbacks<T>
Optional
providers
providers: Provider[]
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[],
}

results matching ""

    No results matching ""