From edc40d8db0533f5133662645d27045a5b340f28c Mon Sep 17 00:00:00 2001 From: kwiateusz Date: Tue, 3 Nov 2015 09:14:55 +0100 Subject: [PATCH] Update of ScrollToParameterOptions in mCustomScrollbar.d.ts --- mCustomScrollbar/mCustomScrollbar.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mCustomScrollbar/mCustomScrollbar.d.ts b/mCustomScrollbar/mCustomScrollbar.d.ts index f41aca00a..6ce44b23c 100644 --- a/mCustomScrollbar/mCustomScrollbar.d.ts +++ b/mCustomScrollbar/mCustomScrollbar.d.ts @@ -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; -} \ No newline at end of file +}