New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@grixu/paginator

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grixu/paginator

Easy to use pagination composable & UI component

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@grixu/paginate

It's simple pagination component & composable written in Vue 3, styled with WindiCSS.

Usage


<template>
  <NavPagination :paginator="paginator">
    <template #buttons="{ paginator }">
      You can customize buttons on the right side, or even do something completely different here, because you have 
      access, to whole paginator object!
    </template>
  </NavPagination>
</template>

<script setup>
import  {NavPagination, usePaginator } from '@grixu/paginator'

const someReactiveDataSource = ref([])
const perPage = ref(25)

const paginator = usePaginator(someReactiveDataSource, perPage)
</script>

Changelog

Please see CHANGELOG in each package for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Keywords

vue

FAQs

Package last updated on 13 Dec 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