mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added jquery tinyscrollbar (inititial version)
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
// Type definitions for jQuery tinyscrollbar 1.8
|
||||
// Project: http://baijs.nl/tinyscrollbar/
|
||||
// Definitions by: Christiaan Rakowski <https://github.com/csrakowski/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
interface JQueryTinyScrollbar extends JQuery {
|
||||
tinyscrollbar(): JQuery;
|
||||
tinyscrollbar_update(): JQuery;
|
||||
}
|
||||
|
||||
|
||||
interface JQueryTinyScrollbarOptions {
|
||||
invertscroll?: bool;
|
||||
axis?: string;
|
||||
wheel?: number;
|
||||
scroll?: bool;
|
||||
lockscroll?: bool;
|
||||
size?: any; //string or number
|
||||
sizethumb?: any; //string or number
|
||||
}
|
||||
|
||||
interface JQueryTinyScrollbarStatic {
|
||||
|
||||
tinyscrollbar(options: JQueryTinyScrollbarOptions): JQueryTinyScrollbar;
|
||||
tinyscrollbar_update(options:any): JQueryTinyScrollbar;
|
||||
}
|
||||
|
||||
interface JQuery extends JQueryTinyScrollbarStatic {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user