@umbraco-ui/uui-pagination
TypeScript icon, indicating that this package has built-in type declarations

1.12.0 • Public • Published

uui-pagination

npm

Umbraco style pagination component. By implementing a resizeObserver it changes the number of visible buttons to fit the width of the container it sits in. Check this out in the Storybook. Uses <uui-button></uui-button> and <uui-button-group></uui-button-group>.

See it in action

Preview the component on Storybook

Installation

ES imports

npm i @umbraco-ui/uui-pagination

Import the registration of <uui-pagination> via:

import '@umbraco-ui/uui-pagination';

When looking to leverage the UUIPaginationElement base class as a type and/or for extension purposes, do so via:

import { UUIPaginationElement } from '@umbraco-ui/uui-pagination';

Usage

<uui-pagination total="100"></uui-pagination>

Package Sidebar

Install

npm i @umbraco-ui/uui-pagination

Weekly Downloads

689

Version

1.12.0

License

MIT

Unpacked Size

18.1 kB

Total Files

8

Last publish

Collaborators

  • warrenbuckley.umbraco
  • ijacob
  • nielslyngsoe
  • umbraco-publish
  • madsrasmussen
  • julczka