JavaScript分页控件

pager

The best project ever.

Getting Started

Install the module with: npm install pager

var Pager = require('pager'); var pager = new Pager({  container: '#pager', //显示分页控件的容器 perpage: 10 //每页显示多少条 }); pager.on('goto', function(e){ console.log(e.page); }); // 当点击时触发的事件 Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

License

Copyright (c) 2016 dukai
Licensed under the MIT license.

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。