mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Add definition of Slider constructor
This commit is contained in:
7
bootstrap-slider/bootstrap-slider.d.ts
vendored
7
bootstrap-slider/bootstrap-slider.d.ts
vendored
@@ -137,6 +137,13 @@ interface JQueryEventObject {
|
||||
value: number|ChangeValue;
|
||||
}
|
||||
|
||||
interface SliderStatics {
|
||||
new (selector: string, opts: SliderOptions): Slider;
|
||||
prototype: Slider;
|
||||
}
|
||||
|
||||
declare var Slider: SliderStatics;
|
||||
|
||||
/**
|
||||
* This class is actually not used when using the jQuery version of bootstrap-slider
|
||||
* The method documentation is still here thouh.
|
||||
|
||||
Reference in New Issue
Block a user