Technology moves fast! ⚡ Don't get left behind.🚶 Subscribe to our mailing list to keep up with latest and greatest in open source projects! 🏆


Subscribe to our mailing list

AlloyTouch

Smooth scrolling, rotation, pull to refresh, page transition and any motion for the web - 丝般顺滑的触摸运动方案

Subscribe to updates I use AlloyTouch


Statistics on AlloyTouch

Number of watchers on Github 1911
Number of open issues 73
Main language JavaScript
Average time to merge a PR about 7 hours
Open pull requests 0+
Closed pull requests 1+
Last commit over 1 year ago
Repo Created almost 4 years ago
Repo Last Updated over 1 year ago
Size 3.82 MB
Homepage http://alloyteam....
Organization / Authoralloyteam
Contributors1
Page Updated
Do you use AlloyTouch? Leave a review!
View open issues (73)
View AlloyTouch activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating AlloyTouch for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

AlloyTouch

Smooth scrolling, rotation, pull to refresh and any motion for the web.

Related links

Install

npm install alloytouch

CDN

API

var alloyTouch = new AlloyTouch({
            touch:"#wrapper",//dom
            vertical: true,//truetouch
            target: target, //
            property: "translateY",  //
            min: 100, //,
            max: 2000, //,
            sensitivity: 1,//,1
      factor: 1,//,1
      moveFactor: 1,//,touchmove1
            step: 45,//step
            bindSelf: false,
      maxSpeed: 2, // 
            initialValue: 0,
            change:function(value){  }, 
            touchStart:function(evt, value){  },
            touchMove:function(evt, value){  },
            touchEnd:function(evt,value){  },
            tap:function(evt, value){  },
            pressMove:function(evt, value){  },
            animationEnd:function(value){  } //
 })

DOM:

alloyTouch.to(value, time, ease)
  • value
  • time600
  • easeCSScubic-bezier(0.1, 0.57, 0.1, 1)

DOM:

alloyTouch.stop()

Demo(Mobile)

License

This content is released under the MIT License.

AlloyTouch open issues Ask a question     (View All Issues)
  • over 2 years 請問使用alloytouch後的click
  • almost 3 years touchcancel时候校正min和max
  • about 3 years 省市级联不同步,动画过界
  • over 3 years 小米5手机动画出现丢帧问题
AlloyTouch list of languages used
Other projects in JavaScript