forEach

fun forEach(callbackfn: (item: DataTransferItem, mimeType: String, dataTransfer: DataTransfer) -> Unit, thisArg: JsAny? = definedExternally)(source)

Allows iteration through the data transfer items.

Parameters

callbackfn

Callback for iteration through the data transfer items.

thisArg

The this context used when invoking the handler function.

Online Documentation