Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ getPointerEvent
Function
getPointerEvent
systemvm/agent/noVNC/core/util/events.js:13–15 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
11
*/
12
13
export
function
getPointerEvent(e) {
14
return
e.changedTouches ? e.changedTouches[0] : e.touches ? e.touches[0] : e;
15
}
16
17
export
function
stopEvent(e) {
18
e.stopPropagation();
Callers
2
dragControlbarHandle
Function · 0.90
controlbarHandleMouseDown
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected