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

vue-fastclick

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-fastclick

Polyfill to remove click delays on browsers with touch UIs

1.0.4
latest
Source
npm
Version published
Weekly downloads
672
5.66%
Maintainers
1
Weekly downloads
 
Created
Source

安装

npm i vue-faskclick

使用

// 在main.js
import fastclick from 'fastclick';
fastclick.attach(document.body);

说明

fastclick 已经好近年没更新了,貌似遗留了许多问题

ios11 据说是修复300ms 的延迟, 但是经过测试,貌似问题还是存在的.至于说 元素加入

html { touch-action: manipulation; }

貌似还会有各种各样的问题, 事实上fastclick 还是用的着的. vue-fastclick 在某些地方修复了fastclick遗留的一些问题.

Keywords

fastclick

FAQs

Package last updated on 27 Feb 2020

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