Liking cljdoc? Tell your friends :D

web.LockedFile

The LockedFile interface provides tools to deal with a given with all the necessary locks.

The LockedFile interface provides tools to deal with a given
with all the necessary locks.
raw docstring

abortcljs

(abort this)

Method.

The abort method is used to release the lock on the web.LockedFile making it inactive: its web.active property is set to false all ongoing operations are canceled.

var request = instanceOfLockedFile.abort();

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/abort

Method.

The abort method is used to release the lock on the `web.LockedFile`
making it inactive: its `web.active` property is set to false
all ongoing operations are canceled.

`var request = instanceOfLockedFile.abort();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/abort`
sourceraw docstring

activecljs

(active this)

Property.

The active property allows to know if the web.LockedFile object still usable (true) or not (false). If the object is inactive it is impossible to perform any read or write operation with Typically, a web.LockedFile object becomes inactive when the method is called or if an error occurs.

var state = instanceOfLockedFile.active

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/active

Property.

The active property allows to know if the `web.LockedFile` object
still usable (true) or not (false). If the object is inactive
it is impossible to perform any read or write operation with
Typically, a `web.LockedFile` object becomes inactive when the
method is called or if an error occurs.

`var state = instanceOfLockedFile.active`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/active`
sourceraw docstring

appendcljs

(append this data)

Method.

The append method is used to write some data at the end of the

var request = instanceOfLockedFile.append(data);

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/append

Method.

The append method is used to write some data at the end of the

`var request = instanceOfLockedFile.append(data);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/append`
sourceraw docstring

file-handlecljs

(file-handle this)

Property.

The fileHandle property gives access to the file.FileHandle that produced the web.LockedFile object.

var handler = instanceOfLockedFile.fileHandle

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/fileHandle

Property.

The fileHandle property gives access to the `file.FileHandle`
that produced the `web.LockedFile` object.

`var handler = instanceOfLockedFile.fileHandle`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/fileHandle`
sourceraw docstring

flushcljs

(flush this)

Method.

The flush method is used to ensure any change made to a file properly written on disk.

var request = instanceOfLockedFile.flush();

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/flush

Method.

The flush method is used to ensure any change made to a file
properly written on disk.

`var request = instanceOfLockedFile.flush();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/flush`
sourceraw docstring

get-metadatacljs

(get-metadata this param)

Method.

The getMetadata method allows to retrieve some metadata about locked file.

var request = instanceOfLockedFile.getMetadata(param);

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/getMetaData

Method.

The getMetadata method allows to retrieve some metadata about
locked file.

`var request = instanceOfLockedFile.getMetadata(param);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/getMetaData`
sourceraw docstring

locationcljs

(location this)

Property.

The location property is a zero-based index representing the of the read/write pointer within the file. Its value indicates which bytes within the file any write or read operation will

var location = instanceOfLockedFile.location

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/location

Property.

The location property is a zero-based index representing the
of the read/write pointer within the file. Its value indicates
which bytes within the file any write or read operation will

`var location = instanceOfLockedFile.location`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/location`
sourceraw docstring

modecljs

(mode this)

Property.

The mode property provides the read/write status of the web.LockedFile

var mode = instanceOfLockedFile.mode

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/mode

Property.

The mode property provides the read/write status of the `web.LockedFile`

`var mode = instanceOfLockedFile.mode`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/mode`
sourceraw docstring

onabortcljs

(onabort this)

Property.

Specifies an event listener to receive abort events. These events when the locked file has been aborted with the web.LockedFile.abort()

`instanceOfLockedFile.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/LockedFile/onabort

Property.

Specifies an event listener to receive abort events. These events
when the locked file has been aborted with the `web.LockedFile.abort()`

`instanceOfLockedFile.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/LockedFile/onabort`
sourceraw docstring

oncompletecljs

(oncomplete this)

Property.

Specifies an event listener to receive complete events. These occur each time a read or write operation is successful.

`instanceOfLockedFile.oncomplete = funcRef;

Where funcRef is a function to be called when the complete event occurs.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/oncomplete

Property.

Specifies an event listener to receive complete events. These
occur each time a read or write operation is successful.

`instanceOfLockedFile.oncomplete = funcRef;

Where funcRef is a function to be called when the complete event occurs.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/oncomplete`
sourceraw docstring

onerrorcljs

(onerror this)

Property.

Specifies an event listener to receive error events. These events when something goes wrong.

`instanceOfLockedFile.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/LockedFile/onerror

Property.

Specifies an event listener to receive error events. These events
when something goes wrong.

`instanceOfLockedFile.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/LockedFile/onerror`
sourceraw docstring

read-as-array-buffercljs

(read-as-array-buffer this size)

Method.

The readAsArrayBuffer method is used to read the content of the object and provide the result of that reading as an web.ArrayBuffer. many ways, it performs like the file.FileReader.readAsArrayBuffer()

var request = instanceOfLockedFile.readAsArrayBuffer(size);

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/readAsArrayBuffer

Method.

The readAsArrayBuffer method is used to read the content of the
object and provide the result of that reading as an `web.ArrayBuffer`.
many ways, it performs like the `file.FileReader.readAsArrayBuffer()`

`var request = instanceOfLockedFile.readAsArrayBuffer(size);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/readAsArrayBuffer`
sourceraw docstring

read-as-textcljs

(read-as-text this & args)

Method.

The readAsText method is used to read the content of the web.LockedFile and provide the result of that reading as a string. In many ways, performs like the file.FileReader.readAsText() method.

var request = instanceOfLockedFile.readAsText(size[, encoding]);

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/readAsText

Method.

The readAsText method is used to read the content of the `web.LockedFile`
and provide the result of that reading as a string. In many ways,
performs like the `file.FileReader.readAsText()` method.

`var request = instanceOfLockedFile.readAsText(size[, encoding]);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/readAsText`
sourceraw docstring

set-active!cljs

(set-active! this val)

Property.

The active property allows to know if the web.LockedFile object still usable (true) or not (false). If the object is inactive it is impossible to perform any read or write operation with Typically, a web.LockedFile object becomes inactive when the method is called or if an error occurs.

var state = instanceOfLockedFile.active

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/active

Property.

The active property allows to know if the `web.LockedFile` object
still usable (true) or not (false). If the object is inactive
it is impossible to perform any read or write operation with
Typically, a `web.LockedFile` object becomes inactive when the
method is called or if an error occurs.

`var state = instanceOfLockedFile.active`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/active`
sourceraw docstring

set-file-handle!cljs

(set-file-handle! this val)

Property.

The fileHandle property gives access to the file.FileHandle that produced the web.LockedFile object.

var handler = instanceOfLockedFile.fileHandle

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/fileHandle

Property.

The fileHandle property gives access to the `file.FileHandle`
that produced the `web.LockedFile` object.

`var handler = instanceOfLockedFile.fileHandle`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/fileHandle`
sourceraw docstring

set-location!cljs

(set-location! this val)

Property.

The location property is a zero-based index representing the of the read/write pointer within the file. Its value indicates which bytes within the file any write or read operation will

var location = instanceOfLockedFile.location

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/location

Property.

The location property is a zero-based index representing the
of the read/write pointer within the file. Its value indicates
which bytes within the file any write or read operation will

`var location = instanceOfLockedFile.location`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/location`
sourceraw docstring

set-mode!cljs

(set-mode! this val)

Property.

The mode property provides the read/write status of the web.LockedFile

var mode = instanceOfLockedFile.mode

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/mode

Property.

The mode property provides the read/write status of the `web.LockedFile`

`var mode = instanceOfLockedFile.mode`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/mode`
sourceraw docstring

set-onabort!cljs

(set-onabort! this val)

Property.

Specifies an event listener to receive abort events. These events when the locked file has been aborted with the web.LockedFile.abort()

`instanceOfLockedFile.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/LockedFile/onabort

Property.

Specifies an event listener to receive abort events. These events
when the locked file has been aborted with the `web.LockedFile.abort()`

`instanceOfLockedFile.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/LockedFile/onabort`
sourceraw docstring

set-oncomplete!cljs

(set-oncomplete! this val)

Property.

Specifies an event listener to receive complete events. These occur each time a read or write operation is successful.

`instanceOfLockedFile.oncomplete = funcRef;

Where funcRef is a function to be called when the complete event occurs.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/oncomplete

Property.

Specifies an event listener to receive complete events. These
occur each time a read or write operation is successful.

`instanceOfLockedFile.oncomplete = funcRef;

Where funcRef is a function to be called when the complete event occurs.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/oncomplete`
sourceraw docstring

set-onerror!cljs

(set-onerror! this val)

Property.

Specifies an event listener to receive error events. These events when something goes wrong.

`instanceOfLockedFile.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/LockedFile/onerror

Property.

Specifies an event listener to receive error events. These events
when something goes wrong.

`instanceOfLockedFile.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/LockedFile/onerror`
sourceraw docstring

truncatecljs

(truncate this start)

Method.

The truncate method is used to remove some data within the file.

var request = instanceOfLockedFile.truncate(start);

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/truncate

Method.

The truncate method is used to remove some data within the file.

`var request = instanceOfLockedFile.truncate(start);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/truncate`
sourceraw docstring

writecljs

(write this data)

Method.

The write method is used to write some data within the file.

var request = instanceOfLockedFile.write(data);

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/write

Method.

The write method is used to write some data within the file.

`var request = instanceOfLockedFile.write(data);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockedFile/write`
sourceraw docstring

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

× close