projects/dvk/src/lib/dynamic-components/dynamic-component-serializer-map/dynamic-component-serializer-map.model.ts
The shape of an object that can handle serialization between a string name and a Component class instance.
Properties |
deserializeMap |
deserializeMap:
|
Type : Map<string | ComponentConstructor>
|
serializeMap |
serializeMap:
|
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>;
}