survey-angular-ui
Version:
survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.
10 lines (9 loc) • 517 B
TypeScript
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>;
}