Giter Site home page Giter Site logo

swipe's Introduction

swipe 单页应用程序示例.

推荐使用谷歌浏览器访问

用法

$ git clone https://github.com/bjtqti/swipe.git

用浏览器打开index.html,按下鼠标左键然后往右拖动,移动距离少于"屏幕" 1/3 时,页面自动反弹回去
当移动距离大于1/3时,自动滑入下一页。同理往左拖动时执行相反的操作。
点击 `next` 按钮,向右翻页
点击 `prev` 按钮,向左翻页
到达末页(next)或首页(prev)时不再翻页

示例

github

在线演示地址

点击这里我你可以链接到我的博客

swipe's People

Contributors

bjtqti avatar

Watchers

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