UNPKG

survey-angular-ui

Version:

A free MIT-licensed Angular UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.

10 lines (9 loc) 517 B
import { Component, ComponentFactoryResolver, ComponentRef, Type, ViewContainerRef } from "@angular/core"; export declare class AngularComponentFactory { static Instance: AngularComponentFactory; private creatorHash; registerComponent(typeName: string, componentType: Type<any>): void; getAllTypes(): Array<string>; isComponentRegistered(elementType: string): boolean; create(containerRef: ViewContainerRef, elementType: string, resolver: ComponentFactoryResolver): ComponentRef<Component>; }