File

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

Description

The shape of an object that can handle serialization between a string name and a Component class instance.

Index

Properties

Properties

deserializeMap
deserializeMap: Map<string | ComponentConstructor>
Type : Map<string | ComponentConstructor>
serializeMap
serializeMap: Map<ComponentConstructor | string>
Type : Map<ComponentConstructor | string>
import { ComponentConstructor } from '../component-constructor/component-constructor.model';

/**
 * The shape of an object that can handle
 * serialization between a string name and a 
 * Component class instance.
 */
export interface DynamicComponentSerializerMap {
    serializeMap: Map<ComponentConstructor, string>;
    deserializeMap: Map<string, ComponentConstructor>;
}

results matching ""

    No results matching ""