UNPKG

survey-core

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.

19 lines (18 loc) 679 B
import { ISurveyErrorOwner } from "./base-interfaces"; import { LocalizableString } from "./localizablestring"; export declare class SurveyError { text: string; protected errorOwner: ISurveyErrorOwner; private locTextValue; visible: boolean; constructor(text?: string, errorOwner?: ISurveyErrorOwner); equals(error: SurveyError): boolean; get locText(): LocalizableString; getText(): string; getErrorType(): string; protected getDefaultText(): string; protected getLocale(): string; protected getLocalizationString(locStrName: string): string; onUpdateErrorTextCallback: (error: SurveyError) => void; updateText(): void; }