@vicoders/angular
Version:
- [Vicoders Angular Common Module](#vicoders-angular-common-module) - [Install](#install) - [How to use](#how-to-use) - [Pipes](#pipes) - [hasItem](#hasitem) - [isArray](#isarray) - [length](#length) - [orderBy](#orderby)
29 lines (28 loc) • 1.08 kB
TypeScript
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { Subscription } from 'rxjs';
import LengthAwarePaginator from '../../models/LengthAwarePaginator';
export declare class LengthAwarePaginatorComponent implements OnInit, OnChanges, OnDestroy {
navigationSubscription: Subscription;
router: Router;
alwaysDisplay?: Boolean;
paginator: LengthAwarePaginator;
name: any;
activeRoute: ActivatedRoute;
current_page: number;
pages: any[];
numberPageInBetween: number;
pagesInBetween: any[];
constructor(router: Router, activeRoute: ActivatedRoute);
ngOnInit(): void;
ngOnDestroy(): void;
ngOnChanges(changes: SimpleChanges): void;
resolveParams(page: any, action?: any): any;
getCurrentPage(): number;
isCurrentPage(page: any): boolean;
shouldActivePrev(): boolean;
shouldActiveNext(): boolean;
getCurrentUrl(): string[];
isHideLeftShowMore(page: any): boolean;
isHideRightShowMore(page: any): boolean;
}