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.
15 lines (14 loc) • 753 B
TypeScript
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;