From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../ja/web/api/cssunparsedvalue/foreach/index.html | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 files/ja/web/api/cssunparsedvalue/foreach/index.html (limited to 'files/ja/web/api/cssunparsedvalue/foreach') diff --git a/files/ja/web/api/cssunparsedvalue/foreach/index.html b/files/ja/web/api/cssunparsedvalue/foreach/index.html new file mode 100644 index 0000000000..8b96b6ccf7 --- /dev/null +++ b/files/ja/web/api/cssunparsedvalue/foreach/index.html @@ -0,0 +1,72 @@ +--- +title: CSSUnparsedValue.forEach() +slug: Web/API/CSSUnparsedValue/forEach +tags: + - API + - CSS Typed Object Model API + - CSSUnparsedValue + - Constructor + - Experimental + - Method + - NeedsExample + - Reference + - forEach + - forEach() +translation_of: Web/API/CSSUnparsedValue/forEach +--- +
{{draft}}{{APIRef("CSSOM")}}{{SeeCompatTable}}
+ +

CSSUnparsedValue.forEach() メソッドは、指定された関数を、 {{domxref('CSSUnparsedValue')}} オブジェクトのそれぞれの要素に対して実行します。

+ +

構文

+ +
CSSUnparsedValue.forEach(function callback(currentValue[, index[, array]]) {
+    // your iterator
+}[, thisArg]);
+ +

引数

+ +
+
callback
+
それぞれの要素について呼び出される関数で、三つの引数を取ります。 +
+
currentValue
+
処理中の現在の要素の値。
+
index{{optional_inline}}
+
処理中の現在の要素の添字。
+
array{{optional_inline}}
+
forEach() が呼び出されている CSSUnparsedValue
+
+
+
thisArg {{Optional_inline}}
+
+

callback の実行中に、 this として使用する値 (つまり、 Object の参照)。.

+
+
+ +

返値

+ +

{{jsxref("undefined")}}

+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('CSSOM','#cssunparsedvalue','forEach()')}}{{Spec2('CSSOM')}}初回定義
+ +

ブラウザーの対応

+ + + +

{{Compat("api.CSSUnparsedValue.forEach")}}

-- cgit v1.2.3-54-g00ecf