/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { PagerType } from './pager-type'; import { PageSizeItem } from './page-size-item'; import { PagerPosition } from './pager-position'; /** * Defines the pager settings of the ListView * ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/paging#pager-options)). */ export interface PagerSettings { /** * Specifies the position of the pager. */ position?: PagerPosition; /** * Specifies the maximum count of numeric buttons before the buttons collapse. */ buttonCount?: number; /** * Toggles the information about the current page and the total number of records. */ info?: boolean; /** * Toggles the Previous and Next buttons. */ previousNext?: boolean; /** * Specifies the type of the pager. */ type?: PagerType; /** * Shows a dropdown for selecting the page size. When you set this to `true`, the dropdown contains the default list of options: 5, 10, 20. * To customize the list of options, set `pageSizeValues` to an array of the desired values. * The array can contain numbers and `PageSizeItem` objects. */ pageSizeValues?: boolean | number[] | PageSizeItem[]; }