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.
24 lines (23 loc) • 1.31 kB
TypeScript
import { AfterViewInit, ChangeDetectorRef, OnDestroy, ViewContainerRef } from "@angular/core";
import { BaseAngular } from "survey-angular-ui";
import { SurveySimulatorModel } from "survey-creator-core";
import * as i0 from "@angular/core";
export declare class SimulatorComponent extends BaseAngular<SurveySimulatorModel> implements AfterViewInit, OnDestroy {
model: SurveySimulatorModel;
constructor(changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef);
/**
* `BaseAngular` defers updates while `model.isRendering` is true during `ngDoCheck`, so
* `popupOverlayHeight` (and frame-driving props) would not refresh the embedded template in time.
* These properties must run synchronous `detectChanges` so `[style.--sv-popup-overlay-height]` applies.
*/
protected getPropertiesToUpdateSync(): Array<string>;
ngAfterViewInit(): void;
ngOnDestroy(): void;
protected afterUpdate(isSync?: boolean): void;
protected getModel(): SurveySimulatorModel;
get simulatorFrame(): any;
activateZoom(): void;
deactivateZoom(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SimulatorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SimulatorComponent, "survey-simulator", never, { "model": "model"; }, {}, never, never>;
}