From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/touchlist/index.html | 74 ++++++++++++++++++++++++++++ files/ja/web/api/touchlist/length/index.html | 24 +++++++++ 2 files changed, 98 insertions(+) create mode 100644 files/ja/web/api/touchlist/index.html create mode 100644 files/ja/web/api/touchlist/length/index.html (limited to 'files/ja/web/api/touchlist') diff --git a/files/ja/web/api/touchlist/index.html b/files/ja/web/api/touchlist/index.html new file mode 100644 index 0000000000..94e83d9a8c --- /dev/null +++ b/files/ja/web/api/touchlist/index.html @@ -0,0 +1,74 @@ +--- +title: TouchList +slug: Web/API/TouchList +tags: + - API + - DOM + - DOM Reference + - Mobile + - Reference + - Touch Event + - TouchList + - touch +translation_of: Web/API/TouchList +--- +

{{APIRef("Touch Events")}}

+ +

TouchList インターフェイスは、タッチ面上の接触点のリストを表します。例えば、ユーザーがタッチ面 (画面やトラックパッドなど) を 3 本指で操作している場合、対応する TouchList オブジェクトは 1 本の指あたり 1 つの {{domxref("Touch")}} オブジェクトを持ち、全部で 3 要素になります。

+ +

プロパティ

+ +
+
{{domxref("TouchList.length")}} {{readonlyInline}}
+
TouchList 中の {{domxref("Touch")}} オブジェクトの個数
+
+ +

メソッド

+ +
+
{{domxref("TouchList.identifiedTouch()")}}
+
識別子が指定された値と一致するリスト内の、最初の {{domxref("Touch")}} 要素を返す
+
{{domxref("TouchList.item()")}}
+
リスト内の指定した位置の {{domxref("Touch")}} オブジェクトを返します。
+
+ +

+ +

タッチイベントのメイン記事にある例をご覧ください。

+ +

仕様書

+ + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('Touch Events 2','#touchlist-interface')}}{{Spec2('Touch Events 2')}}Non-stable version.
{{SpecName('Touch Events', '#touchlist-interface')}}{{Spec2('Touch Events')}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.TouchList")}}

+ +

関連情報

+ + diff --git a/files/ja/web/api/touchlist/length/index.html b/files/ja/web/api/touchlist/length/index.html new file mode 100644 index 0000000000..9f8be4df0e --- /dev/null +++ b/files/ja/web/api/touchlist/length/index.html @@ -0,0 +1,24 @@ +--- +title: TouchList.length +slug: Web/API/TouchList/length +tags: + - DOM + - Gecko DOM Reference + - Mobile + - touch +translation_of: Web/API/TouchList/length +--- +
+ {{ApiRef}}
+

概要

+

この読取専用プロパティは {{domxref("TouchList")}} 内の項目数を表します。

+

構文

+
numTouches = touchList.length;
+
+ +

仕様

+ -- cgit v1.2.3-54-g00ecf