Results 21 - 40 of 82

Blob.size

The Blob.size property returns the size in bytes of the Blob or a File.
API Files Property Reference Référence Web API

Blob.type

The type property of a Blob object provides the MIME type of the file. It returns an empty string if the type couldn't determined.
API DOM File Files Property Reference

File.name

Returns the name of the file represented by a File object. For security reasons, the path is excluded from this property.
API File API Files Property Reference Référence

FileError

Represents an error that occurs while using the FileReader interface.
API File API Files Obsolete Reference

FileReader

The FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
API File API Files Interface Reference

FileReader.abort()

The abort method aborts the read operation. Upon return, the readyState will be DONE.
API File API Files Method Reference Référence

FileReader.error

Returns the error that occurred while reading the file.
API File API Files Property Reference

FileReader.readAsBinaryString()

The readAsBinaryString method is used to start reading the contents of the specified Blob or File. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. At that time, the result attribute contains the raw binary data from the file.
API File API Files Method Reference

FileReader.readAsDataURL()

The readAsDataURL method is used to read the contents of the specified Blob or File. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. At that time, the result attribute contains  the data as a URL representing the file's data as a base64 encoded string.
API File API Files Method Reference