Socket
Socket
Sign inDemoInstall

vue-pagination-bootstrap

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

6

package.json
{
"name": "vue-pagination-bootstrap",
"version": "1.0.1",
"version": "1.0.2",
"description": "Server-side paging component in vue, template based on bootstrap",

@@ -19,3 +19,5 @@ "main": "index.js",

"paging",
"bue-pag"
"vue-pag",
"vue-pagination-bootstrap",
"vue-bootstrap-pagination"
],

@@ -22,0 +24,0 @@ "author": "Bruno Secco",

# vue-pagination-bootstrap
Server-side paging component in vue, template based on bootstrap
* [Vue.js](http://vuejs.org/) (tested with 2.x)
* [Bootstrap CSS](http://getbootstrap.com/) (tested with 4.x)
* [Vue.js](http://vuejs.org/) (tested with 1.x & 2.x)
* [Bootstrap CSS](http://getbootstrap.com/) (tested with 3.x & 4.x)

@@ -18,4 +18,4 @@ ### Installation

new Vue({
el: '#app',,
components: { pagination }
el: '#app',
components: { pagination },
data () {

@@ -26,3 +26,3 @@ return {

paginationOptions: { // Not required to pass this configurations
offset: 2,
offset: 2,
previousText: 'Prev',

@@ -36,4 +36,4 @@ nextText: 'Next',

pageChanged (page) {
console.log(page)
// Exec your response to server passing 'page' params as clicked button paging
console.log(page)
// Exec your response to server passing 'page' params as clicked button paging
}

@@ -53,5 +53,6 @@ }

| :------------ | :--------| :-------| :--------| :-----------
| total | Number | | true | Total itens in server side
| pageSize | Number | | true | Number of itens in page
| callback | Function | | true | Callback function used to load data for selected page
| total | Number | | true | Total items in server side
| pageSize | Number | | true | Number of items in page
| callback | Function | | true | Callback function used to load data for the selected page
| options | Object | | false | An configuration object to overwrite the defaults [options](#options) of the pagination

@@ -58,0 +59,0 @@ ##### Options

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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