百度Touch.js

<script type="text/javascript">
	touch.on('body', 'swipeleft swiperight', function(ev){
    console.log("you have done", ev.type);
});
</script>

  下载:https://www.awesomes.cn/repo/Clouda-team/touchjs   

  api:http://www.dowebok.com/93.html

posted @ 2017-04-10 01:23  ghfjj  阅读(1984)  评论(0编辑  收藏  举报