ingenious/jquery-bootpag
Composer 安装命令:
composer require ingenious/jquery-bootpag
包简介
Bootstrap dynamic pagination jQuery plugin
README 文档
README
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
统计信息
- 总下载量: 163
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-02