From f6e1b46bac6e4bd4dbe62a8474fa86ad2c33b374 Mon Sep 17 00:00:00 2001 From: amadeuszprus Date: Fri, 12 Feb 2016 11:04:10 +0100 Subject: [PATCH] added options scrollTo and scrollBy to jquery.slimScroll --- jquery.slimScroll/jquery.slimScroll.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jquery.slimScroll/jquery.slimScroll.d.ts b/jquery.slimScroll/jquery.slimScroll.d.ts index d894828eb..e2b1b4523 100644 --- a/jquery.slimScroll/jquery.slimScroll.d.ts +++ b/jquery.slimScroll/jquery.slimScroll.d.ts @@ -49,6 +49,10 @@ interface IJQuerySlimScrollOptions { borderRadius?: string; // sets border radius of the rail railBorderRadius?: string; + // jumps to the specified scroll value + scrollTo?: string; + // increases/decreases current scroll value by specified amount + scrollBy?: string; } interface JQuery {