accepts null as array value when settings slider value (#20132)

This commit is contained in:
wagich
2017-10-04 22:45:41 +09:00
committed by Masahiro Wakame
parent 9586525670
commit ed00ecbde0
+1 -1
View File
@@ -187,7 +187,7 @@ declare namespace noUiSlider {
* will also accept arrays. Within an array, you can set one position to null
* if you want to leave a handle unchanged.
*/
set(value: number | number[]): void;
set(value: number | (number | null)[]): void;
/**
* To return to the initial slider values, you can use the .reset() method. This will only reset the slider values.
*/