Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ionic-team/ionic-framework
/ getDocument
Function
getDocument
core/src/utils/gesture/pointer-events.ts:140–142 ·
view source on GitHub ↗
(node: Node)
Source
from the content-addressed store, hash-verified
138
};
139
140
const
getDocument = (node: Node) => {
141
return
node instanceof Document ? node : node.ownerDocument;
142
};
143
144
export
interface
PointerEventsConfig {
145
element?: HTMLElement;
Callers
1
handleMouseDown
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected