mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Definition file for Bootstrap Paginator
https://github.com/lyonlai/bootstrap-paginator
This commit is contained in:
committed by
jraymakers
parent
1466df0191
commit
0044280813
+23
@@ -0,0 +1,23 @@
|
||||
/// <reference path="../jquery/jquery.d.ts"/>
|
||||
|
||||
interface PaginatorOptions{
|
||||
alignment?: string;
|
||||
size?: string;
|
||||
itemContainerClass?: (type, page, current) => string;
|
||||
currentPage?: number;
|
||||
numberOfPages?: number;
|
||||
totalPages?: number;
|
||||
pageUrl?: (type, page, current) => string;
|
||||
shouldShowPage?: boolean;
|
||||
itemText?: (type, page, current) => any;
|
||||
tooltipTitles?: (type, page, current) => string;
|
||||
useBootstrapTooltip?: boolean;
|
||||
bootstrapTooltipOptions?: {};
|
||||
onPageClicked?: (event, originalEvent, type, page) => void;
|
||||
onPageChanged?: (event, originalEvent, type, page) => void;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
bootstrapPaginator(): JQuery;
|
||||
bootstrapPaginator(options: PaginatorOptions): JQuery;
|
||||
}
|
||||
Reference in New Issue
Block a user