MCPcopy 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
140const getDocument = (node: Node) => {
141 return node instanceof Document ? node : node.ownerDocument;
142};
143
144export interface PointerEventsConfig {
145 element?: HTMLElement;

Callers 1

handleMouseDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected