mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-01 11:50:54 +08:00
Update of ScrollToParameterOptions in mCustomScrollbar.d.ts
This commit is contained in:
+9
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user