mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
+4
-4
@@ -5,7 +5,7 @@
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
declare module MCustomScrollbar {
|
||||
declare namespace MCustomScrollbar {
|
||||
interface CustomScrollbarOptions {
|
||||
/**
|
||||
* Set the width of your content (overwrites CSS width), value in pixels (integer) or percentage (string)
|
||||
@@ -75,7 +75,7 @@ declare module MCustomScrollbar {
|
||||
*/
|
||||
updateOnBrowserResize?: boolean;
|
||||
/**
|
||||
* Auto-update scrollbars on content resize (useful when adding/changing content progrmatically), value: true, false. Setting this to true makes the script check for content
|
||||
* Auto-update scrollbars on content resize (useful when adding/changing content progrmatically), value: true, false. Setting this to true makes the script check for content
|
||||
* length changes (every few milliseconds) and automatically call plugin's update method to adjust the scrollbar accordingly
|
||||
*/
|
||||
updateOnContentResize?: boolean;
|
||||
@@ -102,7 +102,7 @@ declare module MCustomScrollbar {
|
||||
*/
|
||||
callbacks?: {
|
||||
/**
|
||||
* User defined callback function, triggered on scroll start event. You can call your own function(s) each time a scroll event begins
|
||||
* User defined callback function, triggered on scroll start event. You can call your own function(s) each time a scroll event begins
|
||||
*/
|
||||
onScrollStart?: () => void;
|
||||
/**
|
||||
@@ -150,7 +150,7 @@ declare module MCustomScrollbar {
|
||||
*/
|
||||
scrollInertia?: number;
|
||||
/**
|
||||
* Scroll-to animation easing, values: "linear", "easeOut", "easeInOut".
|
||||
* Scroll-to animation easing, values: "linear", "easeOut", "easeInOut".
|
||||
*/
|
||||
scrollEasing?: string;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user