Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ocrv/vue-tailwind-pagination

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ocrv/vue-tailwind-pagination

Vue Tailwind Pagination

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
97
decreased by-30.22%
Maintainers
1
Weekly downloads
 
Created
Source

Vue Tailwind Pagination

build downloads-week downloads

Vue component for creating Pagination using Tailwind CSS.

screenshot

Install

npm install --save @ocrv/vue-tailwind-pagination

Usage

  1. Import library styles
import '@ocrv/vue-tailwind-pagination/styles'
  1. Import the components
import VueTailwindPagination from '@ocrv/vue-tailwind-pagination'

Define base data

export default {
    name: 'Pagination Example',
    components: {
        VueTailwindPagination,
    },
    data() {
        return {
            currentPage: 1,
            perPage: 5,
            total: 20
        }
    }
}

Next, in your HTML code:

<VueTailwindPagination
        :current="currentPage"
        :total="total"
        :per-page="perPage"
        @page-changed="currentPage = $event"

        text-before-input="Idź do strony"
        text-after-input="Idź"/>

More examples here

Keywords

FAQs

Package last updated on 19 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc