Skip to content

Arifshariar7/twbs-pagination

This branch is up to date with josecebe/twbs-pagination:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5103bc4 · Aug 4, 2018
Jul 23, 2018
Jul 23, 2018
Jul 23, 2018
Oct 17, 2016
Jul 23, 2018
Jul 26, 2018
Aug 4, 2018
Aug 4, 2018
Aug 4, 2018
Aug 4, 2018
Aug 4, 2018

Repository files navigation

Basic usage

Plugin requires jQuery (required - 1.7.0 or higher).

You can use Bootstrap CSS styles and markup (or use your own).

The following code shows call the function on <ul> tag (it can be also <div> tag).

$('#pagination-demo').twbsPagination({
  totalPages: 35,
  visiblePages: 7,
  onPageClick: function (event, page) {
    $('#page-content').text('Page ' + page);
  }
});

Contributing

For development use grunt build to make minified file. To use grunt install packages by using: npm install

Demo and Docs

For more information see docs on github pages (not completed yet)

About

jQuery pagination plugin (bootstrap powered)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.6%
  • HTML 2.4%