touchemulator:在桌面上模拟触摸输入 源码

tricky6338 74 0 ZIP 2021-02-24 01:02:12

触控模拟器 在桌面上模拟多点触控输入。 触发触摸事件。 按下shift键即可捏住并旋转! 安装 通过Bower从此存储库下载脚本: bower install hammer-touchemulator 或NPM: npm install hammer-touchemulator 如何使用 包括javascript文件,并在使用触摸输入执行其他操作的任何其他库之前调用Emulator()函数。 它将设置一些假属性来欺骗某些库的触摸检测,并在鼠标目标上触发touchstart , touchmove和touchend事件。 < script src =" touch-emulator

用户评论
请输入评论内容
评分:
暂无评论