MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / pointerDown

Function pointerDown

core/src/utils/tap-click/index.ts:29–35  ·  view source on GitHub ↗
(ev: PointerEvent)

Source from the content-addressed store, hash-verified

27 };
28
29 const pointerDown = (ev: PointerEvent) => {
30 // Ignore right clicks
31 if (activatableEle || ev.button === 2) {
32 return;
33 }
34 setActivatedElement(getActivatableTarget(ev), ev);
35 };
36
37 const pointerUp = (ev: UIEvent) => {
38 setActivatedElement(undefined, ev);

Callers

nothing calls this directly

Calls 2

setActivatedElementFunction · 0.85
getActivatableTargetFunction · 0.85

Tested by

no test coverage detected