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.

15 lines (14 loc) 753 B
import { AfterViewInit, ElementRef, OnDestroy } from "@angular/core"; import { Question } from "survey-core"; import { BaseAngular } from "./base-angular"; import * as i0 from "@angular/core"; export declare class QuestionAngular<T extends Question = Question> extends BaseAngular<Question> implements AfterViewInit, OnDestroy { model: T; elementContentRef: ElementRef<HTMLElement>; protected getModel(): T; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<QuestionAngular<any>, never>; static ɵcmp: i0.ɵɵComponentDeclaration<QuestionAngular<any>, "ng-component", never, { "model": "model"; }, {}, never, never>; } export declare function getComponentName(question: Question): string;