Interface · v2.6.0
NgbPagerSettings
Configuration for NgbPagerComponent.
Import
import type { NgbPagerSettings } from '@angular-bootstrap/ngbootstrap';Declaration
interface NgbPagerSettingsProperties
buttonCount
Maximum numeric page buttons before ellipsis collapse. Default `10`.
buttonCount?: numberinfo
Shows the current range and total record count. Default `true`.
info?: booleanpageSizes
Page-size presets. `false` hides the control (set `pageSize` yourself). The active `pageSize` is included when it is not already in the list.
pageSizes?: false | number[]previousNext
Shows previous/next pager buttons. Default `true`.
previousNext?: booleantype
`numeric` (page buttons) or `input` (type a page number). Default `numeric`.
type?: NgbPagerTyperesponsive
When `true` (default), hides info and page-size controls as the container narrows. When `false`, all controls stay visible and wrap onto new rows.
responsive?: boolean