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.
20 lines (19 loc) • 965 B
TypeScript
import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, ViewContainerRef } from "@angular/core";
import { IElement, QuestionRowModel } from "survey-core";
import { BaseAngular } from "./base-angular";
import * as i0 from "@angular/core";
export declare class RowComponent extends BaseAngular<QuestionRowModel> implements AfterViewInit {
private ngZone;
row: QuestionRowModel;
container?: ElementRef<HTMLDivElement>;
constructor(cdr: ChangeDetectorRef, vcr: ViewContainerRef, ngZone: NgZone);
private lazyRenderingTimeout?;
protected getModel(): QuestionRowModel;
trackElementBy(index: number, element: IElement): string;
ngAfterViewInit(): void;
protected onModelChanged(): void;
private stopLazyRendering;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "sv-ng-row", never, { "row": "row"; }, {}, never, never>;
}