survey-react-ui
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.
31 lines (30 loc) • 1.29 kB
TypeScript
import * as React from "react";
import { SurveyQuestionElementBase } from "./reactquestion_element";
import { SurveyQuestionAndErrorsCell } from "./reactquestion";
import { QuestionMatrixDropdownModelBase, Question } from "survey-core";
export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
constructor(props: any);
protected get question(): QuestionMatrixDropdownModelBase;
private getState;
private updateStateOnCallback;
componentDidMount(): void;
componentWillUnmount(): void;
protected renderElement(): React.JSX.Element;
renderTableDiv(): React.JSX.Element;
}
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
constructor(props: any);
private get cell();
protected get itemCss(): string;
protected getQuestion(): Question | any;
protected doAfterRender(): void;
protected getShowErrors(): boolean;
protected getCellStyle(): any;
protected getHeaderText(): string;
protected renderElement(): React.JSX.Element | null;
protected renderCellContent(): React.JSX.Element;
protected renderQuestion(): React.JSX.Element;
private renderOtherComment;
private renderCellCheckboxButton;
private renderCellRadiogroupButton;
}