MCPcopy Create free account
hub / github.com/adobe/react-spectrum / onTouchStart

Function onTouchStart

packages/react-aria/src/slider/useSlider.ts:234–241  ·  view source on GitHub ↗
(e: React.TouchEvent)

Source from the content-addressed store, hash-verified

232 onDownTrack(e, e.pointerId, e.clientX, e.clientY);
233 },
234 onTouchStart(e: React.TouchEvent) {
235 onDownTrack(
236 e,
237 e.changedTouches[0].identifier,
238 e.changedTouches[0].clientX,
239 e.changedTouches[0].clientY
240 );
241 },
242 style: {
243 position: 'relative',
244 touchAction: 'none'

Callers

nothing calls this directly

Calls 1

onDownTrackFunction · 0.85

Tested by

no test coverage detected