Accessible Progres bar / Range slider
![npm downloads](https://img.shields.io/npm/dm/aria-progress-range-slider.svg?style=flat-square)
What is this
As I haven't one, I've tried to create simple to use, fully accessible slider component.
It is written in TypeScript and I will be releasing React component soon.
I'm still working on the documentation.
But the library itself is fully functional.
Options
ariaLabel?: string;
ariaLabeledBy?: string;
arrowMoveStep?: number;
className?: string;
disabled?: boolean;
float?: boolean;
getTooltipText?(value: number, options?: IProgressBarOptions): string;
getValueText?(value: number, options?: IProgressBarOptions): string;
initialValue?: number;
max?: number;
min?: number;
onChange?(value: number, options?: IProgressBarOptions): any;
onDragEnd?(value: number, options?: IProgressBarOptions): any;
onDragMove?(value: number, options?: IProgressBarOptions): any;
onDragStart?(value: number, options?: IProgressBarOptions): any;
pageMoveStep?: number;
snap?: boolean;
step?: number;
API
getValue(): number;
setValue(value: number): void;
setBufferValue(value: number): void;
disable(): void;
enable(): void;