Skip to content
Snippets Groups Projects
Slider.d.ts 1.05 KiB
Newer Older
Glenn Vorhes's avatar
Glenn Vorhes committed
/**
 * Created by glenn on 7/6/2017.
 */
Glenn Vorhes's avatar
Glenn Vorhes committed
import React = require("react");
Glenn Vorhes's avatar
Glenn Vorhes committed
declare type iSlider = {
Glenn Vorhes's avatar
Glenn Vorhes committed
    change: (d: number) => any;
    steps?: number;
    animate?: boolean;
    defaultAnimationInterval?: number;
    value?: number;
glennvorhes's avatar
glennvorhes committed
export declare class Slider extends React.Component<iSlider, {}> {
Glenn Vorhes's avatar
Glenn Vorhes committed
    static defaultProps: {
        steps: any;
        animate: any;
        defaultAnimationInterval: any;
        value: any;
    };
Glenn Vorhes's avatar
Glenn Vorhes committed
    private uid;
    private startUid;
    private stopUid;
    private previousUid;
    private nextUid;
    private intervalUid;
    private el;
    private previousButton;
    private nextButton;
    private startButton;
    private stopButton;
    private intervalSelect;
    private interval;
    private running;
    private minVal;
    private maxVal;
    private step;
    constructor(props: iSlider, context: Object);
    componentDidMount(): void;
    updateRunning(): void;
    startAnimate(): void;
    stopAnimate(): void;
    restartAnimate(): void;
    increment(v: number): void;
    render(): JSX.Element;
}
Glenn Vorhes's avatar
Glenn Vorhes committed
export {};