Liking cljdoc? Tell your friends :D

idb.IDBMutableFile

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.
raw docstring

get-filecljs

(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`
sourceraw docstring

namecljs

(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`
sourceraw docstring

onabortcljs

(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`
sourceraw docstring

onerrorcljs

(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`
sourceraw docstring

opencljs

(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`
sourceraw docstring

set-name!cljs

(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`
sourceraw docstring

set-onabort!cljs

(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`
sourceraw docstring

set-onerror!cljs

(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`
sourceraw docstring

set-type!cljs

(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`
sourceraw docstring

typecljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close