Returns a promise that resolves with an ArrayBuffer containing the entire contents of the blob as binary data.
Returns a promise that resolves with an ArrayBuffer containing the entire contents of the blob as binary data.
Returns the name of the file.
Returns the name of the file. For security reasons, the path is excluded from this property.
MDN
The size, in bytes, of the data contained in the Blob object.
The size, in bytes, of the data contained in the Blob object.
MDN
A string indicating the MIME type of the data contained in the Blob.
A string indicating the MIME type of the data contained in the Blob. If the type is unknown, this string is empty.
MDN
Returns a ReadableStream that can be used to read the contents of the blob.
Returns a ReadableStream that can be used to read the contents of the blob.
MDN
Returns a promise that resolves with a USVString containing the entire contents of the blob interpreted as UTF-8 text.
Returns a promise that resolves with a USVString containing the entire contents of the blob interpreted as UTF-8 text.
MDN
https://developer.mozilla.org/en-US/docs/Web/API/USVString
A string indicating the MIME type of the data contained in the Blob.
A string indicating the MIME type of the data contained in the Blob. If the type is unknown, this string is empty.
MDN
(Since version 1.2.0) This method seems to have been added in error and not actually exist.
The File interface provides information about -- and access to the contents of -- files.
These are generally retrieved from a FileList object returned as a result of a user selecting files using the input element, or from a drag and drop operation's DataTransfer object.
The file reference can be saved when the form is submitted while the user is offline, so that the data can be retrieved and uploaded when the Internet connection is restored.
MDN