Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josecebe/twbs-pagination
jQuery pagination plugin (bootstrap powered)
https://github.com/josecebe/twbs-pagination
Last synced: 23 days ago
JSON representation
jQuery pagination plugin (bootstrap powered)
- Host: GitHub
- URL: https://github.com/josecebe/twbs-pagination
- Owner: josecebe
- License: other
- Created: 2013-12-31T20:35:11.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T12:51:46.000Z (about 6 years ago)
- Last Synced: 2024-10-01T20:05:22.523Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://josecebe.github.io/twbs-pagination/
- Size: 263 KB
- Stars: 1,099
- Watchers: 41
- Forks: 401
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [jQuery pagination plugin (bootstrap powered)](http://josecebe.github.io/twbs-pagination/)
### 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 `
- ` tag (it can be also `
```javascript
$('#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](http://josecebe.github.io/twbs-pagination/) (not completed yet)