@rokku/touch-emulator
v1.0.0
Published
Rokku touch emulator
Downloads
11
Readme
rokku Touch Emulator
在桌面端上模拟移动端 touch 事件,实现方式来自于 hammerjs/touchemulator.
Install
NPM
npm i @rokku/touch-emulator -S
YARN
yarn add @rokku/touch-emulator
使用指南
直接在代码中引入模块即可,模块会自动完成初始化并生效
import '@rokku/touch-emulator';