---
title: "#long-press articles | Hashnode"
description: "Explore 2 articles tagged #long-press on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/long-press"
---

Tag

# #long-press

2 posts · 0 followers

[고라니드로](https://hashnode.com/@koranidro) · [Sep 26, 2024](https://hashnode.com/posts/long-press-gesture-2/670988a3740da98743bdb647)

### [\[TypeScript\] 제스처로 대화하기. #6 - 롱 프레스(with. 범위) 편](https://koranidro.hashnode.dev/long-press-gesture-2?utm_source=hashnode&utm_medium=feed)

이번 편은 이전 편으로부터 이어집니다. 거리 계산은 지난 편의 내용으로 쉽게 구현할 수 있습니다. 하지만 한 가지 차이점은 탭의 경우, 이벤트 핸들러에서 처리하기 때문에 쉽게 좌표를 받아올 수 있지만 롱 프레스의 경우에는 그렇지 못하다는 것입니다. 현재 구현에서도 pointerdown의 좌표를 받아올 수 있지만 목적에 부합하지 않습니다. 필요한 것은 타이머가 호출된 시점의 좌표입니다. 타이머 호출 시점의 좌표를 받아오려면 어떻게 해야 할까요?...

2 min read · [koranidro.hashnode.dev](https://koranidro.hashnode.dev/long-press-gesture-2?utm_source=hashnode&utm_medium=feed)

[고라니드로](https://hashnode.com/@koranidro) · [Sep 25, 2024](https://hashnode.com/posts/long-press-gesture/66f434cf3cabe143d614f549)

### [\[TypeScript\] 제스처로 대화하기. #5 - 롱 프레스 편](https://koranidro.hashnode.dev/long-press-gesture?utm_source=hashnode&utm_medium=feed)

잠깐! PointerEvent에 대해 아직 잘 모른다면 \[typescript\] 포인터 대통합(with. PointerEvent)을 먼저 읽어보세요! 롱 프레스는 긴 시간 동안 누른 상태를 유지하는 것을 말합니다. 긴 시간은 어느 정도의 시간을 말할까요? 예상하셨을 수도 있겠지만 정해진 표준은 없습니다. 그러나 일반적으로 1,000ms 이내를 말하며, 그중에서도 500ms를 많이 사용합니다. 롱 프레스는 일정 시간 후에 발생하는 것이 기본입니다...

1 min read · [koranidro.hashnode.dev](https://koranidro.hashnode.dev/long-press-gesture?utm_source=hashnode&utm_medium=feed)
