bootpag

WebJar for bootpag

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

bootpag
Last Version

Last Version

1.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

bootpag
WebJar for bootpag
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/botmonster/jquery-bootpag

Download bootpag

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/bootpag/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>bootpag</artifactId>
    <version>1.0.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/bootpag/
implementation 'org.webjars.bower:bootpag:1.0.7'
// https://jarcasting.com/artifacts/org.webjars.bower/bootpag/
implementation ("org.webjars.bower:bootpag:1.0.7")
'org.webjars.bower:bootpag:jar:1.0.7'
<dependency org="org.webjars.bower" name="bootpag" rev="1.0.7">
  <artifact name="bootpag" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='bootpag', version='1.0.7')
)
libraryDependencies += "org.webjars.bower" % "bootpag" % "1.0.7"
[org.webjars.bower/bootpag "1.0.7"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

bootpag - dynamic pagination

This jQuery plugin helps you create dynamic pagination with Bootstrap or in any other html pages.

Example

Snippet that dynamic loads number of pages. More examples can be found on project homepage

<p id="content">Dynamic page content</p>
<p id="pagination-here"></p>
$('#pagination-here').bootpag({
    total: 7,          // total pages
    page: 1,            // default page
    maxVisible: 5,     // visible pagination
    leaps: true         // next/prev leaps through maxVisible
}).on("page", function(event, num){
    $("#content").html("Page " + num); // or some ajax content loading...
    // ... after content load -> change total to 10
    $(this).bootpag({total: 10, maxVisible: 10});
});

License

Plugin available under MIT license (See LICENSE file)

Copyright (c) 2013-2015 botmonster.com

Versions

Version
1.0.7