mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
28 lines
796 B
TypeScript
28 lines
796 B
TypeScript
// 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.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?: boolean;
|
|
onPageClick?: (interger) => void;
|
|
onInit?: () => void;
|
|
}
|
|
|
|
interface JQuery {
|
|
pagination(options?: SimplePaginationOptions): JQuery;
|
|
}
|