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 file.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 `file.File` object. `var request = instanceOfFileHandle.getFile();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/getFile`
(name this)
Property.
Provides the name of the file.
var name = instanceOfFileHandle.name
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/name
Property. Provides the name of the file. `var name = instanceOfFileHandle.name` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/name`
(onabort this)
Property.
Specifies an event listener to receive abort events. These events
when the associated locked file has been aborted with the web.LockedFile.abort()
`instanceOfFileHandle.onabort = funcRef;
Where funcRef is a function to be called when the abort event occurs.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort
Property. Specifies an event listener to receive abort events. These events when the associated locked file has been aborted with the `web.LockedFile.abort()` `instanceOfFileHandle.onabort = funcRef; Where funcRef is a function to be called when the abort event occurs.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort`
(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 mode)
Method.
The open method returns a web.LockedFile
object that allows
safely write in the file.
var myFile = instanceOfFileHandle.open(mode);
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/open
Method. The open method returns a `web.LockedFile` object that allows safely write in the file. `var myFile = instanceOfFileHandle.open(mode);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/open`
(set-name! this val)
Property.
Provides the name of the file.
var name = instanceOfFileHandle.name
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/name
Property. Provides the name of the file. `var name = instanceOfFileHandle.name` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/name`
(set-onabort! this val)
Property.
Specifies an event listener to receive abort events. These events
when the associated locked file has been aborted with the web.LockedFile.abort()
`instanceOfFileHandle.onabort = funcRef;
Where funcRef is a function to be called when the abort event occurs.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort
Property. Specifies an event listener to receive abort events. These events when the associated locked file has been aborted with the `web.LockedFile.abort()` `instanceOfFileHandle.onabort = funcRef; Where funcRef is a function to be called when the abort event occurs.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort`
(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