survey-analytics
Version:
SurveyJS Dashboard is a UI component for visualizing and analyzing survey data. It interprets the form JSON schema to identify question types and renders collected responses using interactive charts and tables.
16 lines (15 loc) • 598 B
TypeScript
import { Question, QuestionBooleanModel } from "survey-core";
import { ItemValue } from "survey-core";
import { SelectBase } from "./selectBase";
export declare class BooleanModel extends SelectBase {
constructor(question: Question, data: Array<{
[index: string]: any;
}>, options?: Object, name?: string);
protected getCorrectAnswerText(): string;
get booleanQuestion(): QuestionBooleanModel;
static trueColor: string;
static falseColor: string;
getSelectedItemByText(itemText: string): ItemValue;
getValues(): Array<any>;
getLabels(): Array<string>;
}