mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Initial definitions for 2 new jquery plugins.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// Type definitions for jQuery simplePagination.js v1.4
|
||||
// Project: https://github.com/flaviusmatis/simplePagination.js
|
||||
// Definitions by: Natan Vivo <https://github.com/nvivo/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../jquery/jquery-1.9.d.ts" />
|
||||
|
||||
interface SimplePaginationOptions {
|
||||
items?: number;
|
||||
itemsOnPage?: number;
|
||||
pages?: number;
|
||||
displayedPages?: number;
|
||||
edges?: number;
|
||||
currentPage?: number;
|
||||
hrefTextPrefix?: string;
|
||||
hrefTextSuffix?: string;
|
||||
prevText?: string;
|
||||
nextText?: string;
|
||||
cssStyle?: string;
|
||||
selectOnClick?: bool;
|
||||
onPageClick?: (interger) => void;
|
||||
onInit?: () => void;
|
||||
};
|
||||
|
||||
interface JQuery {
|
||||
pagination(options?: SimplePaginationOptions): JQuery;
|
||||
}
|
||||
Reference in New Issue
Block a user