File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed
Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ // Type definitions for jQuery contextMenu 1.5.25
2+ // Project: http://medialize.github.com/jQuery-contextMenu/
3+ // Definitions by: Natan Vivo <https://github.com/nvivo/>
4+ // Definitions: https://github.com/borisyankov/DefinitelyTyped
5+
6+ /// <reference path="../jquery/jquery-1.9.d.ts" />
7+
8+ interface JQueryContextMenuOptions {
9+ selector : string ;
10+ appendTo ?: string ;
11+ trigger ?: string ;
12+ autoHide ?: bool ;
13+ delay ?: number ;
14+ determinePosition ?: ( menu ) => void ;
15+ position ?: ( opt , x , y ) => void ;
16+ positionSubmenu ?: ( menu ) => void ;
17+ zIndex ?: number ;
18+ animation ?: {
19+ duration ?: number ;
20+ show ?: string ;
21+ hide ?: string ;
22+ } ;
23+ events ?: {
24+ show ?: ( ) => void ;
25+ hide ?: ( ) => void ;
26+ } ;
27+ callback ?: ( ...args : any [ ] ) => any ;
28+ items : any ;
29+ } ;
30+
31+ interface JQueryStatic {
32+ contextMenu ( options ?: JQueryContextMenuOptions ) : JQuery ;
33+ }
Original file line number Diff line number Diff line change 1+ // Type definitions for jQuery simplePagination.js v1.4
2+ // Project: https://github.com/flaviusmatis/simplePagination.js
3+ // Definitions by: Natan Vivo <https://github.com/nvivo/>
4+ // Definitions: https://github.com/borisyankov/DefinitelyTyped
5+
6+ /// <reference path="../jquery/jquery-1.9.d.ts" />
7+
8+ interface SimplePaginationOptions {
9+ items ?: number ;
10+ itemsOnPage ?: number ;
11+ pages ?: number ;
12+ displayedPages ?: number ;
13+ edges ?: number ;
14+ currentPage ?: number ;
15+ hrefTextPrefix ?: string ;
16+ hrefTextSuffix ?: string ;
17+ prevText ?: string ;
18+ nextText ?: string ;
19+ cssStyle ?: string ;
20+ selectOnClick ?: bool ;
21+ onPageClick ?: ( interger ) => void ;
22+ onInit ?: ( ) => void ;
23+ } ;
24+
25+ interface JQuery {
26+ pagination ( options ?: SimplePaginationOptions ) : JQuery ;
27+ }
You can’t perform that action at this time.
0 commit comments