primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
139 lines (138 loc) • 3.56 kB
TypeScript
import { BaseStyle } from 'primeng/base';
import * as i0 from "@angular/core";
export declare class PaginatorStyle extends BaseStyle {
name: string;
theme: ({ dt }: {
dt: any;
}) => string;
classes: {
paginator: ({ instance, key }: {
instance: any;
key: any;
}) => (string | {
[x: string]: any;
'p-paginator-default': boolean;
})[];
content: string;
contentStart: string;
contentEnd: string;
first: ({ instance }: {
instance: any;
}) => (string | {
'p-disabled': any;
})[];
firstIcon: string;
prev: ({ instance }: {
instance: any;
}) => (string | {
'p-disabled': any;
})[];
prevIcon: string;
next: ({ instance }: {
instance: any;
}) => (string | {
'p-disabled': any;
})[];
nextIcon: string;
last: ({ instance }: {
instance: any;
}) => (string | {
'p-disabled': any;
})[];
lastIcon: string;
pages: string;
page: ({ props, pageLink }: {
props: any;
pageLink: any;
}) => (string | {
'p-paginator-page-selected': boolean;
})[];
current: string;
pcRowPerPageDropdown: string;
pcJumpToPageDropdown: string;
pcJumpToPageInput: string;
};
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PaginatorStyle>;
}
/**
*
* Paginator is a generic component to display content in paged format.
*
* [Live Demo](https://www.primeng.org/paginator)
*
* @module paginatorstyle
*
*/
export declare enum PaginatorClasses {
/**
* Class name of the paginator element
*/
paginator = "p-paginator",
/**
* Class name of the content start element
*/
contentStart = "p-paginator-content-start",
/**
* Class name of the content end element
*/
contentEnd = "p-paginator-content-end",
/**
* Class name of the first element
*/
first = "p-paginator-first",
/**
* Class name of the first icon element
*/
firstIcon = "p-paginator-first-icon",
/**
* Class name of the prev element
*/
prev = "p-paginator-prev",
/**
* Class name of the prev icon element
*/
prevIcon = "p-paginator-prev-icon",
/**
* Class name of the next element
*/
next = "p-paginator-next",
/**
* Class name of the next icon element
*/
nextIcon = "p-paginator-next-icon",
/**
* Class name of the last element
*/
last = "p-paginator-last",
/**
* Class name of the last icon element
*/
lastIcon = "p-paginator-last-icon",
/**
* Class name of the pages element
*/
pages = "p-paginator-pages",
/**
* Class name of the page element
*/
page = "p-paginator-page",
/**
* Class name of the current element
*/
current = "p-paginator-current",
/**
* Class name of the row per page dropdown element
*/
pcRowPerPageDropdown = "p-paginator-rpp-dropdown",
/**
* Class name of the jump to page dropdown element
*/
pcJumpToPageDropdown = "p-paginator-jtp-dropdown",
/**
* Class name of the jump to page input element
*/
pcJumpToPageInput = "p-paginator-jtp-input"
}
export interface PaginatorStyle extends BaseStyle {
}