A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/DataTransfer/files below:

files ยท WebPlatform Docs

files Summary

Returns a FileList of the files being dragged, if any.

Property of dom/DataTransferdom/DataTransfer

Syntax

Note: This property is read-only.

var result = element.files;
Return Value

Returns an object of type ObjectObject

A live FileList sequence consisting of File objects representing the files being dragged (if any).

Examples

function getDragFiles(e) {
  var oData = e.dataTransfer;
  var fList = oData.files;
}
Notes

This version of the API does not expose the types of the files during the drag.

Related specifications
HTML5
Candidate Recommendation

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4