Skip to content
Snippets Groups Projects
Slider.d.ts 922 B
Newer Older
Glenn Vorhes's avatar
Glenn Vorhes committed
/// <reference types="react" />
/**
 * Created by glenn on 7/6/2017.
 */
import { React } from './reactAndRedux';
Glenn Vorhes's avatar
Glenn Vorhes committed
export declare class Slider extends React.Component<{
Glenn Vorhes's avatar
Glenn Vorhes committed
    change: (d: number) => any;
    steps?: number;
    animate?: boolean;
    value?: number;
Glenn Vorhes's avatar
Glenn Vorhes committed
}, null> {
Glenn Vorhes's avatar
Glenn Vorhes committed
    uid: string;
    startUid: string;
    endUid: string;
    intervalUid: string;
    el: HTMLInputElement;
    startButton: HTMLButtonElement;
    endButton: HTMLButtonElement;
    intervalSelect: HTMLSelectElement;
    interval: number;
    running: boolean;
    minVal: number;
    maxVal: number;
    step: number;
Glenn Vorhes's avatar
Glenn Vorhes committed
    constructor(props: {
        change: (d: number) => any;
        steps?: number;
        animate?: boolean;
        value?: number;
    }, context: Object);
Glenn Vorhes's avatar
Glenn Vorhes committed
    componentDidMount(): void;
    updateRunning(): void;
    startAnimate(): void;
    stopAnimate(): void;
    restartAnimate(): void;
    render(): JSX.Element;
}