我使用自定义触摸屏,我想默认激活触摸事件节点 webkit https://github.com/rogerwang/node-webkit, 那可能吗?
This one https://github.com/rogerwang/node-webkit/wiki/Manifest-format告诉 node-webkit 如何打开应用程序并控制浏览器的行为。
Update:
我使用的是类似 Ubuntu 的操作系统,触摸事件的所有功能都像使用鼠标一样工作(例如,您需要使用滚动条向下滚动..)。问题是如何告诉我的操作系统我需要使用移动触摸事件?
谢谢。
Add "chromium-args": "--touch-events",
到 package.json。
在 Ubuntu 14.04 和 nw 0.13.04 上测试。
更多信息清单格式 - chromium-args https://github.com/nwjs/nw.js/wiki/Manifest-format#chromium-args
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)