--- 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 ---
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")}}