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.
20 lines (19 loc) • 919 B
TypeScript
import * as React from "react";
import { ProgressButtons, PageModel, IProgressButtonsViewModel } from "survey-core";
import { SurveyNavigationBase } from "./reactSurveyNavigationBase";
export declare class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {
private respManager;
private listContainerRef;
constructor(props: any);
protected get model(): ProgressButtons;
get container(): string;
onResize(canShowItemTitles: boolean): void;
onUpdateScroller(hasScroller: boolean): void;
onUpdateSettings(): void;
render(): React.JSX.Element;
protected getListElements(): React.JSX.Element[];
protected renderListElement(page: PageModel, index: number): React.JSX.Element;
protected clickScrollButton(listContainerElement: Element | null, isLeftScroll: boolean): void;
componentDidMount(): void;
componentWillUnmount(): void;
}