survey-react-ui
Version:
A free MIT-licensed React UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.
17 lines (16 loc) • 591 B
TypeScript
import * as React from "react";
import { SurveyQuestionElementBase } from "./reactquestion_element";
import { Base, QuestionSliderModel } from "survey-core";
export declare class SurveyQuestionSlider extends SurveyQuestionElementBase {
constructor(props: any);
componentDidMount(): void;
protected get question(): QuestionSliderModel;
protected getStateElement(): Base;
protected renderElement(): React.JSX.Element;
private rangeInputRef;
private getInputsAndThumbs;
private getThumb;
private getInput;
private getRangeInput;
private getLabels;
}