UNPKG

survey-core

Version:

A framework-independent core of the SurveyJS Form Library that works with rendering packages. Use it to integrate dynamic, interactive JSON-based forms and surveys into your app, collect user responses, and send them to your own database.

23 lines (22 loc) 1.14 kB
import { Question, IConditionObject, ValidationContext } from "./question"; import { SurveyError } from "./survey-error"; /** * A base class for question types that cannot have a value ([Html](https://surveyjs.io/form-library/documentation/questionhtmlmodel), [Image](https://surveyjs.io/form-library/documentation/questionimagemodel)). * * This class does not implement new functionality&mdash;it only redefines default values of certain properties inherited from the [`Question`](https://surveyjs.io/form-library/documentation/question) class. */ export declare class QuestionNonValue extends Question { constructor(name: string); getType(): string; get hasInput(): boolean; get hasTitle(): boolean; getTitleLocation(): string; get hasComment(): boolean; protected validateElementCore(context: ValidationContext): boolean; getAllErrors(): Array<SurveyError>; supportAutoAdvance(): boolean; addConditionObjectsByContext(objects: Array<IConditionObject>, context: any): void; getConditionJson(operator?: string, path?: string): any; get ariaRole(): string; get ariaRequired(): any; }