Update mCustomScrollbar.d.ts

This commit is contained in:
kwiateusz
2015-11-05 15:27:42 +01:00
parent edc40d8db0
commit ba72a292dd
+13 -12
View File
@@ -10,15 +10,16 @@ declare module MCustomScrollbar {
/**
* Set the width of your content (overwrites CSS width), value in pixels (integer) or percentage (string)
*/
set_width?: any;
setWidth?: any;
/**
* Set the height of your content (overwirtes CSS height), value in pixels (integer) or percentage (string)
*/
set_height?: any;
setHeight?: any;
/**
* Add horizontal scrollbar (default is vertical), value: true, false
*/
horizontalScroll?: boolean;
* Define contents scrolling axis (the type of scrollbars added to the element: vertical and/of horizontal).
* Available values: "y", "x", "yx". y -vertical, x - horizontal
*/
axis: string;
/**
* Scrolling inertia (easing), value in milliseconds (0 for no scrolling inertia)
*/
@@ -132,17 +133,17 @@ declare module MCustomScrollbar {
*/
scrollInertia?: number;
/**
+ * Scroll-to animation easing, values: "linear", "easeOut", "easeInOut".
+ */
+ scrollEasing?: string;
+ /**
* 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;
* 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
*/