Smooth scrolling, rotation, pull to refresh, page transition and any motion for the web    
JavaScript HTML CSS
Pull request Compare This branch is 25 commits behind AlloyTeam:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
carousel/3d
example
full_page
refresh
select
transformjs
vue
website
.gitignore
LICENSE
README.md
README_CN.md
alloy_touch.button.js
alloy_touch.css.js
alloy_touch.full_page.js
alloy_touch.js
alloy_touch.refresh.js
alloy_touch.select.infinite.js
alloy_touch.select.js
alloy_touch.select.multiple.js
index.html
package.json

README.md

English | 简体中文

AlloyTouch

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

Wiki

https://github.com/AlloyTeam/AlloyTouch/wiki

Install

npm install alloytouch

API

new AlloyTouch({
            touch:"#wrapper",
            vertical: true,
            target: target, 
            property: "translateY", 
            min: 100, 
            max: 2000, 
            sensitivity: 1,
            factor: 1,
            step: 45,
            bindSelf: false,
            initialVaule: 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){  } 
 })

Demo(Mobile)

Many thanks to

Who is using AlloyTouch?

preview

License

This content is released under the MIT License.