Movatterモバイル変換


[0]ホーム

URL:


CoreUI Angular Logo
Framework:
Getting startedIntroductionSupport CoreUICustomizeSassOptionsCSS VariablesLayoutBreakpointsContainersGridColumnsGuttersFormsOverviewAutocompletePRODate PickerPRODate Range PickerPROForm ControlSelectMulti SelectPROChecks & RadiosPassword InputPRORangeRange SliderPRORatingPROStepperPROInput GroupFloating LabelsLayoutTime PickerPROValidationComponentsAccordionAlertAvatarBadgeBreadcrumbButtonButton GroupCalendarPROCalloutCardCarouselClose buttonCollapseDropdownFooterHeaderImageList GroupLoading ButtonPROModalNavNavbarOffcanvasPaginationPlaceholderPopoverProgressSmart PaginationPROSmart TablePROSidebarSpinnerTableTabsNewToastTooltipWidgetsIconsChartsTemplatesNewAdmin & DashboardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page
CoreUI PRO for Angular This component is part of CoreUI PRO – a powerful UI library with over 250 components and 25+ templates, designed to help you build modern, responsive apps faster. Fully compatible with Angular, Bootstrap, React.js, and Vue.js. Get CoreUI PRO

Angular Smart Pagination Component

Documentation and examples for showing Angular smart pagination to indicate a series of related content exists across multiple pages.

Overview

Angular smart pagination component consists of button-like styled links, that are arranged side by side in ahorizontal list.

We use a large block of connected links for our pagination, making links hard to miss and easily scalable — all whileproviding large hit areas. SmartPagination is built with list HTML elements so screen readers can announce thenumber of available links. SmartPagination also role="navigation" to identify it as a navigation sectionto screen readers and other assistive technologies.

In addition, as pages likely have more than one such navigation section, SmartPagination provide a descriptivearia-label.

Features

  • Determine behavior, style and functionality of pagination
  • Smart automatic items generation

Examples


  • ...

Selected: 2

Loading...
Loading...

Working with icons

Looking to use an icon or symbol in place of text for some pagination links? SmartPagination will provide screenreader support for 'firstButton', 'previousButton', 'nextButton' and 'lastButton'.

Loading...

Sizing

Fancy larger or smaller pagination? Addsize="lg" orsize="sm" for additional sizes.

  • ...
Loading...
  • ...
Loading...

Alignment

Change the alignment of pagination components withalign="start",align="center" oralign="end"flexbox utilities.

  • ...
Loading...
  • ...
Loading...

API

SmartPagination Module

import { SmartPaginationModule } from '@coreui/angular';@NgModule({       imports: [SmartPaginationModule,]})export class AppModule() { }

c-smart-pagination

component

Inputs

namedescriptiontypedefault
activePageCurrent page numbernumber1
arrowsShow/hide arrowsbooleantrue
doubleArrowsShow double arrows buttonsbooleantrue
dotsShow dotsbooleantrue
firstButtonThe content of first buttonstring«
lastButtonThe content of last buttonstring»
limitMaximum items numbernumber5
pagesNumber of pagesnumber1
nextButtonThe content of next buttonstring
previousButtonThe content of prev buttonstring
sizeSize of paginationsm,lg''
rolerole attrstringnavigation

Outputs

namedescriptiontype
activePageChangeEvent emitted onactivePage changenumber

CoreUI for Angular is Open Source UI Components Library for Angular.

Currently v5.5.17 Code licensed MIT, docs CC BY 3.0 .
CoreUI PRO requires acommercial license.


[8]ページ先頭

©2009-2025 Movatter.jp