The IDBMutableFile interface provides access in read or write to a file, dealing with all the necessary locks.
The IDBMutableFile interface provides access in read or write to a file, dealing with all the necessary locks.
(get-file this)
Method.
The getFile method allows to retrieve a read-only snapshot of
handled file in the form of a web.files.File
object.
var request = instanceOfFileHandle.getFile();
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/getFile
Method. The getFile method allows to retrieve a read-only snapshot of handled file in the form of a `web.files.File` object. `var request = instanceOfFileHandle.getFile();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/getFile`
(name this)
Property.
The name of the handled file.
Property. The name of the handled file.
(onabort this)
Property.
The abort event is triggered each time the handled file is aborted.
Property. The abort event is triggered each time the handled file is aborted.
(onerror this)
Property.
Specifies an event listener to receive error events. These events when something goes wrong.
`instanceOfFileHandle.onerror = funcRef;
Where funcRef is a function to be called when the error event occurs.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror
Property. Specifies an event listener to receive error events. These events when something goes wrong. `instanceOfFileHandle.onerror = funcRef; Where funcRef is a function to be called when the error event occurs.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror`
(open this & args)
Method.
Returns a LockedFile object to read or write the associated file
Method. Returns a LockedFile object to read or write the associated file
(set-name! this val)
Property.
The name of the handled file.
Property. The name of the handled file.
(set-onabort! this val)
Property.
The abort event is triggered each time the handled file is aborted.
Property. The abort event is triggered each time the handled file is aborted.
(set-onerror! this val)
Property.
Specifies an event listener to receive error events. These events when something goes wrong.
`instanceOfFileHandle.onerror = funcRef;
Where funcRef is a function to be called when the error event occurs.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror
Property. Specifies an event listener to receive error events. These events when something goes wrong. `instanceOfFileHandle.onerror = funcRef; Where funcRef is a function to be called when the error event occurs.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror`
(set-type! this val)
Property.
Provides the mime type of the file.
var type = instanceOfFileHandle.type
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/type
Property. Provides the mime type of the file. `var type = instanceOfFileHandle.type` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/type`
(type this)
Property.
Provides the mime type of the file.
var type = instanceOfFileHandle.type
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/type
Property. Provides the mime type of the file. `var type = instanceOfFileHandle.type` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/type`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close