mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Added comments to jquery.tinyscrollbar
This commit is contained in:
parent
6ed385610a
commit
bc2c67c6cf
@ -90,6 +90,7 @@ List of Definitions
|
||||
* [jQuery.simplePagination](https://github.com/flaviusmatis/simplePagination.js) (by [Natan Vivo](https://github.com/nvivo/))
|
||||
* [jQuery.timeago](http://timeago.yarp.com/) (by [Fran<EFBFBD>ois Guillot](http://fguillot.developpez.com/))
|
||||
* [jQuery.Timepicker](http://fgelinas.com/code/timepicker/) (by [Anwar Javed](https://github.com/anwarjaved))
|
||||
* [jQuery.TinyScrollbar](http://baijs.nl/tinyscrollbar/) (by [Christiaan Rakowski](https://github.com/csrakowski))
|
||||
* [jQuery.Transit](http://ricostacruz.com/jquery.transit/) (by [MrBigDog2U](https://github.com/MrBigDog2U))
|
||||
* [jQuery.Validation](http://bassistance.de/jquery-plugins/jquery-plugin-validation/) (by [Boris Yankov](https://github.com/borisyankov))
|
||||
* [jQuery.Watermark](http://jquery-watermark.googlecode.com) (by [Anwar Javed](https://github.com/anwarjaved))
|
||||
|
||||
35
jquery.tinyscrollbar/jquery.tinyscrollbar.d.ts
vendored
35
jquery.tinyscrollbar/jquery.tinyscrollbar.d.ts
vendored
@ -7,16 +7,47 @@
|
||||
|
||||
module JQueryTinyScrollbar {
|
||||
export interface JQueryTinyScrollbarOptions {
|
||||
/**
|
||||
* Enable mobile invert style scrolling. (default: false)
|
||||
*/
|
||||
invertscroll?: bool;
|
||||
/**
|
||||
* Vertical or horizontal scroller? 'x' or 'y'. (default: 'x')
|
||||
*/
|
||||
axis?: string;
|
||||
/**
|
||||
* How many pixels must the mouswheel scrolls at a time. (default: 40)
|
||||
*/
|
||||
wheel?: number;
|
||||
/**
|
||||
* Enable or disable the mousewheel. (default: true)
|
||||
*/
|
||||
scroll?: bool;
|
||||
/**
|
||||
* Return scrollwheel event to browser if there is no more content. (default: true)
|
||||
*/
|
||||
lockscroll?: bool;
|
||||
size?: any; //string or number
|
||||
sizethumb?: any; //string or number
|
||||
/**
|
||||
* Set the size of the scrollbar to auto or a fixed number. (default: 'auto')
|
||||
*/
|
||||
size?: any;
|
||||
/**
|
||||
* Set the size of the thumb to auto or a fixed number. (default: 'auto')
|
||||
*/
|
||||
sizethumb?: any;
|
||||
}
|
||||
}
|
||||
interface JQuery {
|
||||
/**
|
||||
* Creates a new tinyscrollbar with the specified, or default, options.
|
||||
*
|
||||
* @param options The options
|
||||
*/
|
||||
tinyscrollbar(options?: JQueryTinyScrollbar.JQueryTinyScrollbarOptions): JQuery;
|
||||
/**
|
||||
* Updates an existing tinyscrollbar with the specified, or default, options.
|
||||
*
|
||||
* @param options The options
|
||||
*/
|
||||
tinyscrollbar_update(options?: any): JQuery;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user