MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / onTouchStart

Function onTouchStart

demo/App.tsx:252–254  ·  view source on GitHub ↗
(e: TouchEvent)

Source from the content-addressed store, hash-verified

250 }
251 };
252 const onTouchStart = (e: TouchEvent) => {
253 touchStartY = e.touches[0]?.clientY ?? 0;
254 };
255 const onTouchMove = (e: TouchEvent) => {
256 const y = e.touches[0]?.clientY ?? 0;
257 if (y > touchStartY + 12) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected