@engie-group/fluid-design-system-angular
Version:
Fluid Design System Angular
59 lines (58 loc) • 1.87 kB
TypeScript
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class PaginationComponent {
private cdr;
/**
* Text alternative for assistive technologies for previous button
* @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
*/
ariaLabelNext?: string;
/**
* Text alternative for assistive technologies for next button
* @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
*/
ariaLabelPrevious?: string;
/**
* Total number of pages
*/
count?: number;
/**
* Current page
*/
currentItem: number;
/**
* Whether pagination should minify
*/
shouldMinify: boolean;
/**
* Emits selected item on change
*/
selectedItem: EventEmitter<number>;
constructor(cdr: ChangeDetectorRef);
/**
* @ignore
*/
getItems(): number[];
/**
* @ignore
*/
goToNext(): void;
/**
* @ignore
*/
goToPrevious(): void;
/**
* @ignore
*/
goToItem(item: number): void;
/**
* @ignore
*/
isItemVisible(item: number): boolean;
/**
* @ignore
*/
showMoreHorizontal(item: number): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "nj-pagination", never, { "ariaLabelNext": { "alias": "ariaLabelNext"; "required": false; }; "ariaLabelPrevious": { "alias": "ariaLabelPrevious"; "required": false; }; "count": { "alias": "count"; "required": false; }; "currentItem": { "alias": "currentItem"; "required": false; }; "shouldMinify": { "alias": "shouldMinify"; "required": false; }; }, { "selectedItem": "selectedItem"; }, never, never, true, never>;
}