@vaadin-component-factory/vcf-paginator
v1.1.2
Published
Web Component for displaying a full functioning paginator on a webpage.
Downloads
10
Readme
<vcf-paginator>
This is the npm version vcf-paginator developed using Polymer 3.
Live demo ↗ | API documentation ↗
Installation
Install vcf-paginator
:
npm i @vaadin-component-factory/vcf-paginator --save
Usage
Once installed, import it in your application:
import '@vaadin-component-factory/vcf-paginator';
Add <vcf-paginator>
component to page. Set total-pages
and current-page
attributes for the component.
<vcf-paginator id="my-paginator" total-pages="15" current-page="4"></vcf-paginator>
Running demo
Fork the
vcf-paginator
repository and clone it locally.Make sure you have npm installed.
When in the
vcf-paginator
directory, runnpm install
to install dependencies.Run
npm start
to open the demo.
Contributing
To contribute to the component, please read the guideline first.
Vaadin Prime
This component is available in the Vaadin Prime subscription. It is still open source, but you need to have a valid CVAL license in order to use it. Read more at: https://vaadin.com/pricing
License
Apache License 2.0