MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / onTouchStart

Function onTouchStart

src/Components/Home/home.jsx:159–161  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

157 };
158 let touchStartY = null;
159 const onTouchStart = (e) => {
160 touchStartY = e.touches[0].clientY;
161 };
162 const onTouchMove = (e) => {
163 if (touchStartY === null) return;
164 const dy = touchStartY - e.touches[0].clientY;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected