twbs-pagination

WebJar for twbs-pagination

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

twbs-pagination
Last Version

Last Version

1.4.1
Release Date

Release Date

Type

Type

jar
Description

Description

twbs-pagination
WebJar for twbs-pagination
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/josecebe/twbs-pagination

Download twbs-pagination

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : jquery jar [1.7,)

Project Modules

There are no modules declared in this project.

jQuery pagination plugin (bootstrap powered)

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)

Versions

Version
1.4.1