Git Product home page Git Product logo

slider's Introduction

slider

一个slider,可以更方面的去帮助你,在移动端实现下滑刷新的功能

参数介绍

1.wrapper 内容滑动容器(原生的dom对象)
2.onSliderStartCallback 开始滑动时回调函数,返回true表示继续执行,返回false表示不继续执行下面的内容
3.onSliderEndCallback 滑动结束后回调函数
4.maxSliderLength 用户最长可以滑动的长度(px)
5.minSliderLength 用户最小可以触发onSliderEndCallback的滑动长度
6.sliderBackDuration 松开手之后,容器回归动画时间
7.delayToSliderBackDuration 松开手之后,容器回归之前,需要等待的时间

slider's People

Contributors

467598557 avatar

Stargazers

 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.