---
title: "Discussion on \"[TypeScript] 제스처로 대화하기. #3 - 탭(with. 범위) 편\" | Hashnode"
description: "Discussion on \"[TypeScript] 제스처로 대화하기. #3 - 탭(with. 범위) 편\". 이번 편은 이전 편으로부터 이어집니다.\n\n탭을 할 때 누른 지점과 뗀 지점의 차이가 큰 경우에 이를 유효하다 할 수 있을까요? 물론 허용할 수는 있지만 관점에 따라서는 부적절해 보일 수 있습니다.\n요소 내부로 제한\n범위를 요소 내부로 제한하고자 하는 경우, elementFromPoint을 활용할 수 있습니다. 이 함수는 좌표를 포함하는 최상단 요소를 반환합니다. 만약 반환된 요소가 추적 중인 요소와 다르다면 포인터가 외부에 있는 것으로 판단할 ..."
url: "https://hashnode.com/posts/tap-gesture-3/6709873c5eb87682d6c57925"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[TypeScript\] 제스처로 대화하기. #3 - 탭(with. 범위) 편](https://koranidro.hashnode.dev/tap-gesture-3?utm_source=hashnode&utm_medium=feed)

이번 편은 이전 편으로부터 이어집니다. 탭을 할 때 누른 지점과 뗀 지점의 차이가 큰 경우에 이를 유효하다 할 수 있을까요? 물론 허용할 수는 있지만 관점에 따라서는 부적절해 보일 수 있습니다. 요소 내부로 제한 범위를 요소 내부로 제한하고자 하는 경우, elementFromPoint을 활용할 수 있습니다. 이 함수는 좌표를 포함하는 최상단 요소를 반환합니다. 만약 반환된 요소가 추적 중인 요소와 다르다면 포인터가 외부에 있는 것으로 판단할 ...

Sep 20, 2024 · 1 min read · koranidro.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#click](https://hashnode.com/tag/click)
-   [#tap](https://hashnode.com/tag/tap)
-   [#distance](https://hashnode.com/tag/distance)
-   [#gesture](https://hashnode.com/tag/gesture)
-   [#gesture-detector](https://hashnode.com/tag/gesture-detector)

## Written by

[고라니드로](https://hashnode.com/@koranidro)

@koranidro

  
[View profile](https://hashnode.com/@koranidro)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
