Electron 在Atom外壳中隐藏鼠标光标

Electron 在Atom外壳中隐藏鼠标光标,electron,Electron,是否可以在atom shell应用程序中隐藏鼠标光标?我曾尝试在index.html中添加一个样式标记“cursor:none”作为body元素,但没有效果。我正在windows 7 x64上运行atom shell。 <body style="cursor: -webkit-grab;"> // your conntents </body> //你的亲戚 这将如您所期望的那样起作用

是否可以在atom shell应用程序中隐藏鼠标光标?我曾尝试在index.html中添加一个样式标记“cursor:none”作为body元素,但没有效果。我正在windows 7 x64上运行atom shell。


<body style="cursor: -webkit-grab;">
    // your conntents 
</body>
//你的亲戚
这将如您所期望的那样起作用