ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
35 lines (34 loc) • 1.66 kB
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
import { NzPaginationI18nInterface } from 'ng-zorro-antd/i18n';
import * as i0 from "@angular/core";
export declare class NzPaginationOptionsComponent implements OnChanges {
nzSize: 'default' | 'small';
disabled: boolean;
showSizeChanger: boolean;
showQuickJumper: boolean;
locale: NzPaginationI18nInterface;
total: number;
pageIndex: number;
pageSize: number;
pageSizeOptions: number[];
readonly pageIndexChange: EventEmitter<number>;
readonly pageSizeChange: EventEmitter<number>;
listOfPageSizeOption: Array<{
value: number;
label: string;
}>;
constructor();
onPageSizeChange(size: number): void;
jumpToPageViaInput($event: Event): void;
trackByOption(_: number, option: {
value: number;
label: string;
}): number;
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzPaginationOptionsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzPaginationOptionsComponent, "div[nz-pagination-options]", never, { "nzSize": "nzSize"; "disabled": "disabled"; "showSizeChanger": "showSizeChanger"; "showQuickJumper": "showQuickJumper"; "locale": "locale"; "total": "total"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; }, { "pageIndexChange": "pageIndexChange"; "pageSizeChange": "pageSizeChange"; }, never, never>;
}