CSSUnparsedValue: forEach() メソッド

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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

構文

js
forEach(callbackFn)
forEach(callbackFn, thisArg)

引数

callbackFn

それぞれの要素について呼び出される関数で、3 つの引数を取ります。

currentValue

処理中の現在の要素の値。

index 省略可

処理中の現在の要素の添字。

array 省略可

forEach() が呼び出されている CSSUnparsedValue

thisArg 省略可

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

返値

なし (undefined)。

仕様書

No specification found

No specification data found for api.CSSUnparsedValue.forEach.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
forEach

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

関連情報