bootpag

WebJar for bootpag

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

bootpag
Последняя версия

Последняя версия

1.0.7
Дата

Дата

Тип

Тип

jar
Описание

Описание

bootpag
WebJar for bootpag
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать bootpag

Как подключить последнюю версию

<!-- 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"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.0.7