New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fastclick-pro

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastclick-pro

```

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

fastclick-pro


npm i fastclick-pro
or 
yarn add fastclick-pro


优化fastclick的问题

  • input和textarea的光标问题
  • 支持服务端渲染(引入不会崩溃)
  • 实例,直接挂载到fastclick本身
// a.js

import fastclick from 'fastclick';
fastclick.attach(document.body);

// b.js

import fastclick from 'fastclick';
// 直接在这里使用fastclick的自身方法,支持在其他的文件直接import并且使用
fastclick.instance.destroy();

FAQs

Package last updated on 17 Jun 2019

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

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