🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

untouch

移动端点击库

0.0.3
latest
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created

untouch

移动点击库

介绍

简单实现了zepto的touch模块,但是不依赖zepto。

具体事件

  • tap, singleTap, longTap, doubleTap;
  • swipeDown, swipeUp, swipeRight, swipeLeft.

依赖库

使用方法

  • 如果你导入了zepto 或者jquery :
$('#kk').on('longTap',function(e){})
  • 否则:
document.getElementById('sw1').addEventListener('longTap',function(e){})

最新版本

0.0.3

用Grunt打包

运行 npm install or cnpm install,来安装所需的依赖模块。关于NPM的知识,请参见nodejs;

运行 grunt,来对项目进行打包。关于Grunt的知识,请参见gruntjs;

FAQs

Package last updated on 30 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts