MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / onPanDown

Function onPanDown

src/components/createDataZoomSlider.ts:254–254  ·  view source on GitHub ↗
(e: PointerEvent)

Source from the content-addressed store, hash-verified

252 const onLeftDown = (e: PointerEvent): void => startDrag(e, 'left-handle');
253 const onRightDown = (e: PointerEvent): void => startDrag(e, 'right-handle');
254 const onPanDown = (e: PointerEvent): void => startDrag(e, 'pan-window');
255
256 leftHandle.addEventListener('pointerdown', onLeftDown, { passive: false });
257 rightHandle.addEventListener('pointerdown', onRightDown, { passive: false });

Callers

nothing calls this directly

Calls 1

startDragFunction · 0.85

Tested by

no test coverage detected