diff --git a/README.md b/README.md index 8f4e0605bd..395547a6b7 100644 --- a/README.md +++ b/README.md @@ -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�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)) diff --git a/jquery.tinyscrollbar/jquery.tinyscrollbar.d.ts b/jquery.tinyscrollbar/jquery.tinyscrollbar.d.ts index 33cd594dec..c1567fbbde 100644 --- a/jquery.tinyscrollbar/jquery.tinyscrollbar.d.ts +++ b/jquery.tinyscrollbar/jquery.tinyscrollbar.d.ts @@ -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; } \ No newline at end of file