Socket
Socket
Sign inDemoInstall

@any-touch/doubletap

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@any-touch/doubletap - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

10

package.json
{
"name": "@any-touch/doubletap",
"version": "2.0.3",
"version": "2.1.0",
"description": "any-touch的识别器, 用来识别双击手势, 是Tap识别器的一个特例",

@@ -11,5 +11,5 @@ "main": "./dist/index",

"dependencies": {
"@any-touch/compute": "^2.0.3",
"@any-touch/shared": "^2.0.3",
"@any-touch/vector": "^2.0.3"
"@any-touch/compute": "^2.1.0",
"@any-touch/shared": "^2.1.0",
"@any-touch/vector": "^2.1.0"
},

@@ -23,3 +23,3 @@ "files": [

"sideEffects": false,
"gitHead": "8883ce697d63c7347481eef21544b65699cdd923"
"gitHead": "91e58656b132d38f6559bda794c9011e78a37ec2"
}
# @any-touch/doubletap
**双击**识别器. 基于[@any-touch/tap](https://github.com/any86/any-touch/tree/master/packages/tap)实现, 是tap的一个特例.
## 安装
```shell
npm i -S @any-touch/doubletap
```
## 快速开始

@@ -17,3 +22,2 @@ ```javascript

```
**⚠️注意**: 使用doubletap后, tap每次触发会延迟300ms, 以便区分是2次tap还是doubletap.

@@ -20,0 +24,0 @@ ## 源码解析

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc