Coder Social home page Coder Social logo

jqpaginator's Introduction

jqPaginator分页组件

Build Status Bower Status

使用说明

  1. 使用bower安装bower install jqPaginator
  2. 直接引入dist编译好的文件

开发说明

源码基于GruntJS构建,确保安装Node的情况下,全局安装

sudo npm install grunt-cli
sudo npm install bower

在文件目录下运行

npm install
bower install

然后运行

grunt server

修改相应代码会自动刷新
打包编译请运行

grunt build

开发文件位于src目录,编译后的最终文件位于dist目录

版本更新

1.2.0

增加参数类型验证。

1.1.0

1、onPageChange事件接受第二个参数type,表示事件类型,可能的值为:

  • init:初始化
  • change:点击页码

2、内置bootstrap类型的分页,不用每次都设置first,next,page等参数。

1.0.2

更好的兼容 $.paginator('#id',options) 形式的调用

1.0.1

option函数优化

1.0.0

新增spm https://spmjs.org/keenwon/jqPaginator/
安装方法:

spm install keenwon/jqPaginator

jqpaginator's People

Contributors

keenwon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.