UNPKG

@doku-dev/doku-fragment

Version:

A new Angular UI library that moving away from Bootstrap and built from scratch.

34 lines (33 loc) 1.18 kB
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core'; import { DokuPaginationContainer } from './pagination-container.component'; import * as i0 from "@angular/core"; export declare class DokuPaginationInfo implements AfterViewInit, OnDestroy { private cdr; private container?; /** * Return total data of the items. */ get totalData(): number; /** * Return item start number based on active page. */ get from(): number; /** * Return item end number based on active page. */ get to(): number; private _totalData; private _from; private _to; private customInfo; private pageChangeListener?; constructor(cdr: ChangeDetectorRef, container?: DokuPaginationContainer | undefined); protected get isCustomInfo(): boolean; private get itemsPerPage(); private get activePage(); ngAfterViewInit(): void; ngOnDestroy(): void; private setValues; static ɵfac: i0.ɵɵFactoryDeclaration<DokuPaginationInfo, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DokuPaginationInfo, "doku-pagination-info", ["dokuPaginationInfo"], {}, {}, never, ["*"], true>; }