Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/aframevr/aframe
/ enableGrabCursor
Function
enableGrabCursor
src/components/look-controls.js:428–428 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
426
var
sceneEl = this.el.sceneEl;
427
428
function
enableGrabCursor () { sceneEl.canvas.classList.add(
'a-grab-cursor'
); }
429
function
disableGrabCursor () { sceneEl.canvas.classList.remove(
'a-grab-cursor'
); }
430
431
if
(!sceneEl.canvas) {
Callers
1
look-controls.js
File · 0.85
Calls
1
add
Method · 0.80
Tested by
no test coverage detected