UNPKG

survey-creator-angular

Version:

A white-label drag-and-drop form builder for Angular that lets you design complex, interactive forms and surveys without writing code. It generates JSON schemas used by the SurveyJS Form Library to render dynamic forms in your Angular app.

27 lines (26 loc) 1.31 kB
import { ElementRef } from "@angular/core"; import { PanelModel, Question } from "survey-core"; import { SurveyCreatorModel, QuestionAdornerViewModel } from "survey-creator-core"; import { CreatorModelComponent } from "./creator-model.component"; import * as i0 from "@angular/core"; export declare class QuestionDesignerComponent extends CreatorModelComponent<QuestionAdornerViewModel> { componentName: string; componentData: any; container: ElementRef<HTMLDivElement>; adorner: QuestionAdornerViewModel; protected get creator(): SurveyCreatorModel; get model(): Question | PanelModel; protected createModel(): void; protected getPropertiesToTrack(): string[]; protected getModel(): QuestionAdornerViewModel; get placeholderComponent(): string; get placeholderComponentData(): any; get showPlaceholderComponent(): boolean; selectQuestionType(event: any): void; addNewQuestion(event: any): void; ngAfterViewChecked(): void; ngOnDestroy(): void; adornerComponent: string; static ɵfac: i0.ɵɵFactoryDeclaration<QuestionDesignerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<QuestionDesignerComponent, "svc-question", never, { "componentName": "componentName"; "componentData": "componentData"; }, {}, never, never>; }