Update of ScrollToParameterOptions in mCustomScrollbar.d.ts

This commit is contained in:
kwiateusz
2015-11-03 09:14:55 +01:00
parent 0dd29bf825
commit edc40d8db0
+9 -1
View File
@@ -132,10 +132,18 @@ declare module MCustomScrollbar {
*/
scrollInertia?: number;
/**
+ * Scroll-to animation easing, values: "linear", "easeOut", "easeInOut".
+ */
+ scrollEasing?: string;
+ /**
* Scroll scrollbar dragger (instead of content) to a number of pixels, values: true, false
*/
moveDragger?: boolean;
/**
+ * Set a timeout for the method (the default timeout is 60 ms in order to work with automatic scrollbar update), value in milliseconds.
+ */
+ timeout?: number;
/**
* Trigger user defined callback after scroll-to completes, value: true, false
*/
callbacks?: boolean;
@@ -163,4 +171,4 @@ interface JQuery {
* @param options Override default options
*/
mCustomScrollbar(options?: MCustomScrollbar.CustomScrollbarOptions): JQuery;
}
}