0.4.3 • Published 10 years ago

react-bootpag v0.4.3

Weekly downloads
10
License
MIT
Repository
github
Last release
10 years ago

react-bootpage

Component react for Boostrap pagination

Installation

$ npm install react-bootpag

#Example

var Bootpag = require('react-bootpag');
var settings = {
  total: 20, // total page number
  startPage: 2, // start page from left 
  page: 4,  // Selected page
  maxVisible: 10, // maximum number of pages visibles at a time
  nextCallback: function(states, pageNumber){}, // callback executed after next button click
  prevCallback: function(states, pageNumber){}, // callback executed after previous button click
  nextText: '»', // text used for next button
  prevText: '«', // text used for previous button
  increment: 3, // page increment or decrement when clicking prev/next buttons
  pageCallback: function(states, pageNumber){} // callback executed after page selection
};

<Bootpag settings={settings} />
0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.6

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.1.0

10 years ago