Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web/API/Element/touchcancel_event を更新 #25689

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions files/ja/web/api/element/touchcancel_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,20 @@ title: "Element: touchcancel イベント"
short-title: touchcancel
slug: Web/API/Element/touchcancel_event
l10n:
sourceCommit: 76717f752447b6eef25bf29c12272e407ee5cb6b
sourceCommit: b71d118ffc6d72b77efad9661110fcc9ede464eb
---

{{APIRef}}

`touchcancel` イベントは、1 つ以上のタッチポイントが実装固有の理由で中断されたとき(例えば、タッチポイントが多すぎるとき)に発生します。
`touchcancel` イベントは、1 つ以上のタッチポイントが実装固有の理由で中断されたときに発生します。

`touchcancel` イベントを引き起こす状況の例としては、次のようなものがあります。

- タッチ操作が取り消される可能性のあるハードウェアでイベントが発生したとき。例えば、アプリケーションスイッチャーインターフェイスや、モバイル端末の「ホーム」ボタンを使用してユーザーがアプリケーションを切り替えたときなど。
- タッチがアクティブな間、端末の画面の方向が変更されたとき。
- ブラウザーが、ユーザーが誤ってタッチ入力を始めたと判断したとき。例えば、ハードウェアがパームリジェクションに対応している場合や、スタイラスを使用している際にディスプレイに手が触れて誤ってイベントを開始してしまうことを防ぐときなど。
- {{cssxref("touch-action")}} プロパティによって、入力の継続が中断されたとき。
- ユーザーが同時に操作する指の数が多すぎると、ブラウザーは(ユーザーが画面にタッチしている最中でも)すべての既存のポインターに対してこのイベントを発行します。

## 構文

Expand Down Expand Up @@ -60,7 +68,3 @@ _このインターフェイスは {{domxref("UIEvent")}} および {{domxref("E
## ブラウザーの互換性

{{Compat}}

## 参照

- [`Document`](/ja/docs/Web/API/Document) をターゲットとしたこのイベント: [`touchcancel`](/ja/docs/Web/API/Element/touchcancel_event)