Update readme and references

This commit is contained in:
Boris Yankov
2013-01-17 20:11:42 +02:00
parent 209d95071a
commit 4524a82d45
3 changed files with 63 additions and 60 deletions
+27 -27
View File
@@ -1,27 +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;
}
// 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?: bool;
onPageClick?: (interger) => void;
onInit?: () => void;
};
interface JQuery {
pagination(options?: SimplePaginationOptions): JQuery;
}