CSSUnparsedValue: forEach() Methode
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Die CSSUnparsedValue.forEach()
Methode
führt eine bereitgestellte Funktion einmal für jedes Element von
CSSUnparsedValue
aus.
Syntax
forEach(callbackFn)
forEach(callbackFn, thisArg)
Parameter
callbackFn
-
Die Funktion, die für jedes Element ausgeführt wird und drei Argumente nimmt:
currentValue
-
Der Wert des aktuell verarbeiteten Elements.
index
Optional-
Der Index des aktuell verarbeiteten Elements.
array
Optional-
Das
CSSUnparsedValue
, auf demforEach()
aufgerufen wird.
thisArg
Optional-
Der Wert, der als
this
(d.h. das ReferenzObject
) beim Ausführen voncallback
verwendet wird.
Rückgabewert
Keiner (undefined
).
Spezifikationen
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.