systelab-components
Version:
systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.
25 lines (24 loc) • 1.31 kB
TypeScript
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class PaginatorComponent implements OnInit, OnChanges {
totalPages: number;
page: number;
pagesToShow: number;
showNextPreviousButtons: boolean;
showFirstLastButtons: boolean;
pageChange: EventEmitter<number>;
pages: number[];
private static calculateVisiblePages;
private static calculateStartPage;
private static calculateEndPage;
private static calculateLinkPages;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
goFirst(): void;
goPrevious(): void;
goNext(): void;
goLast(): void;
goToPage(page: number): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "systelab-paginator", never, { "totalPages": { "alias": "totalPages"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pagesToShow": { "alias": "pagesToShow"; "required": false; }; "showNextPreviousButtons": { "alias": "showNextPreviousButtons"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
}