your-fastclick
v0.2.0
Published
your-fastclick
Downloads
341
Readme
your-fastclick
npm i your-fastclick
fastclick([selector])
selector
<string> 元素选择器。默认'body'
消除移动端 click 300ms 延迟
import fastclick from 'your-fastclick'
// 全局
fastclick()
// 指定
fastclick('button')