@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
23 lines • 1.11 kB
TypeScript
import { TemplateRef, AfterViewInit, OnInit, OnChanges } from '@angular/core';
import { PageChangedEvent } from 'ngx-bootstrap/pagination';
import * as i0 from "@angular/core";
export declare class PaginatedListGroupComponent<T> implements OnInit, OnChanges, AfterViewInit {
items: T[];
itemsPerPage: number;
itemTemplate: TemplateRef<any>;
currentPage: number;
currentPageItems: T[];
private cdr;
private host;
private renderer;
ngOnInit(): void;
ngOnChanges(): void;
ngAfterViewInit(): void;
pageChanged(event: PageChangedEvent): void;
updateCurrentPageItems(): void;
getItemIndex(item: T): number;
goToLastItem(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatedListGroupComponent<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatedListGroupComponent<any>, "c8y-paginated-list-group", never, { "items": { "alias": "items"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; }, {}, ["itemTemplate"], never, true, never>;
}
//# sourceMappingURL=paginated-list-group.component.d.ts.map