Liking cljdoc? Tell your friends :D

web.files.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.

[Non Standard]

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

var request = instanceOfLockedFile.abort();

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

Method.

[Non Standard]

The abort method is used to release the lock on the `web.files.LockedFile`
making it inactive: its `active` property is set to false and
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.

[Read Only] [Non Standard]

The active property allows to know if the web.files.LockedFile is 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.files.LockedFile object becomes inactive when LockedFile.abort() 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.

[Read Only]
[Non Standard]

The active property allows to know if the `web.files.LockedFile`
is 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.files.LockedFile` object becomes inactive when
`LockedFile.abort()` 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.

[Non Standard]

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.

[Non Standard]

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.

[Read Only] [Non Standard]

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

var handler = instanceOfLockedFile.fileHandle

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

Property.

[Read Only]
[Non Standard]

The fileHandle property gives access to the `FileHandle` object
produced the `web.files.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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Read Only] [Non Standard]

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

var mode = instanceOfLockedFile.mode

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

Property.

[Read Only]
[Non Standard]

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

`var mode = instanceOfLockedFile.mode`

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

onabortcljs

(onabort this)

Property.

[Non Standard]

Specifies an event listener to receive abort events. These events when the locked file has been aborted with the 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.

[Non Standard]

Specifies an event listener to receive abort events. These events
when the locked file has been aborted with the `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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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

var request = instanceOfLockedFile.readAsArrayBuffer(size);

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

Method.

[Non Standard]

The readAsArrayBuffer method is used to read the content of the
object and provide the result of that reading as an `js.ArrayBuffer`.
many ways, it performs like the `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.

[Non Standard]

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

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

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

Method.

[Non Standard]

The readAsText method is used to read the content of the `web.files.LockedFile`
and provide the result of that reading as a string. In many ways,
performs like the `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-location!cljs

(set-location! this val)

Property.

[Non Standard]

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.

[Non Standard]

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-onabort!cljs

(set-onabort! this val)

Property.

[Non Standard]

Specifies an event listener to receive abort events. These events when the locked file has been aborted with the 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.

[Non Standard]

Specifies an event listener to receive abort events. These events
when the locked file has been aborted with the `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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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.

[Non Standard]

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