ss-paging-vue
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-beta.3 • Public • Published

SSPaging logo

npm npm SSPaging License

SSPaging

SSPaging is a server-side (or a low-level) pagination library for Vue.js. The name was taken from Smartscore Pagination which was a part from past project of SSPaging creator. SSPaging provides sets of ready-to-use functions and properties to create pagination. SSPaging provides some built-in components you can use in your project, but you can also learn how to create your own with the provided examples

Installation

SSPaging can be installed using NPM:

npm install ss-paging-vue

Breaking Changes in v3.x

In v3.x, SSPaging shares the same codebase for both Composition API and Pinia version. This change affects the way accessing the state. For example, in v2.x you can directly access SSPaging state with paging.rows in Pinia version, while in v3.x you should replace it with paging.state.rows.

Basic Usage

After it is installed, you can import the composables or Pinia version of SSPaging (choose one depend on your need!).

import { usePaging, usePagingStore } from 'ss-paging-vue'

// in composables mode
const paging = usePaging()

// in Pinia mode
const paging = usePagingStore()

For use without build tool, you can include SSPaging via CDN:

<script src="https://unpkg.com/ss-paging-vue@latest/dist/ss-paging.dist.js"></script>
// in your JS file
const paging = SSPaging.usePaging()

Documentation

For complete documentation, please refer to SSPaging Official Documentation instead.

Contribution

Just create a pull request if you want to add features or fix bugs.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.0-beta.30latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.0-beta.30
3.0.0-beta.20
3.0.0-alpha.220
3.0.0-alpha.200
3.0.0-alpha.190
3.0.0-alpha.180
3.0.0-alpha.170
3.0.0-alpha.150
3.0.0-alpha.140
3.0.0-alpha.130
3.0.0-alpha.120
3.0.0-alpha.60
3.0.0-alpha.50
3.0.0-alpha.40
3.0.0-alpha.30
3.0.0-alpha.20
2.3.0-stable1
2.3.0-beta.10
2.3.0-alpha.50
2.3.0-alpha.30
2.3.0-alpha.20
2.3.0-alpha.10
2.2.90
2.2.80
2.2.70
2.2.60
2.2.50
2.2.40
2.2.30

Package Sidebar

Install

npm i ss-paging-vue

Weekly Downloads

1

Version

3.0.0-beta.3

License

MIT

Unpacked Size

98.2 kB

Total Files

31

Last publish

Collaborators

  • adnzaki