GithubHelp home page GithubHelp logo

makeng / angular-pagination-upgraded Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 88 KB

之前的Angular分页插件是简单版,现在增加一些功能成为升级版,方便在复杂项目中使用。

HTML 25.31% JavaScript 74.69%

angular-pagination-upgraded's Introduction

项目说明


关于项目

作者: Ken Ma
启动日期: 2017-5-1
说明:本项目是Angular上的分页directive,特点是代码简洁易懂,使用者可以根据自己的需要增加效果。

使用

1.  引入bootstrap.css样式文件。也可以自己编写样式。
2.  引入pagination.js脚本文件。此指令没有对外开放的函数,只有两个需要双向绑定的变量page和maxPage。
3.  通过读取page可以获得当前页码。
4.  指令内部对maxPage进行了监听,一旦此变量变化,就会执行html页码数量的初始化。

angular-pagination-upgraded's People

Contributors

makeng avatar makeng2 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.