Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@lion/pagination

Package Overview
Dependencies
2
Maintainers
2
Versions
37
Issues
File Explorer

Advanced tools

@lion/pagination

A component that handles pagination.

    0.9.1latest
    GitHub

Version published
Maintainers
2
Weekly downloads
663
increased by65.75%

Weekly downloads

Readme

Source

Pagination >> Overview ||10

A web component that handles pagination.

import { html } from '@mdjs/mdjs-preview'; import '@lion/pagination/define'; export const main = () => html` <lion-pagination count="20" current="10"></lion-pagination> `;

Features

  • You can pass the total number of pages in the count parameter, and the current page in the current parameter. If current is not defined it will default to the value 1.
  • On a click or parameter change of current it will fire an event back called current-changed.

Installation

npm i --save @lion/pagination import { LionPagination } from '@lion/pagination'; // or import '@lion/pagination/define';

Keywords

FAQs

Last updated on 08 Sep 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc