Nodewebkit应用程序:隐藏光标 [英] Nodewebkit app: hide cursor

查看:122
本文介绍了Nodewebkit应用程序:隐藏光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在全屏模式下使用nodewebkit开发我的网络应用程序。

它必须用于触摸屏监视器。

I'm developing my web app with nodewebkit in fullscreen mode.
It has to be used with touchscreen monitor.

使用CSS属性:

html * {
  cursor: none;
}

nodewebkit的清单似乎没有提供任何有用的删除光标..

In nodewebkit's manifest seems that nothing usefull is provided to remove cursor..

问题是

如何改善这种行为?

推荐答案

我已修复从脚本调用的问题:

I've fixed the problem calling from script:

document.body.style.cursor = 'none';

但我不明白为什么不能从css工作。

But I can't understand why doesn't work from css.

这篇关于Nodewebkit应用程序:隐藏光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆