Liking cljdoc? Tell your friends :D

web.files.FileRequest

The FileRequest interface extends the DOMRequest interface provide some extra properties necessary for the web.files.LockedFile

The FileRequest interface extends the `DOMRequest` interface
provide some extra properties necessary for the `web.files.LockedFile`
raw docstring

errorcljs

(error this)

Property.

Error information, if any.

Property.

Error information, if any.
sourceraw docstring

locked-filecljs

(locked-file this)

Property.

[Read Only] [Non Standard]

The lockedFile property represents the web.files.LockedFile from which the request was started.

var lockedFile = instanceOfFileRequest.lockedFile

See also: https://developer.mozilla.org/en-US/docs/Web/API/FileRequest/lockedFile

Property.

[Read Only]
[Non Standard]

The lockedFile property represents the `web.files.LockedFile`
from which the request was started.

`var lockedFile = instanceOfFileRequest.lockedFile`

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

onerrorcljs

(onerror this)

Property.

A callback handler that gets called when an error occurs while the operation.

Property.

A callback handler that gets called when an error occurs while
the operation.
sourceraw docstring

onprogresscljs

(onprogress this)

Property.

[Non Standard]

This property specifies a callback function to be run repeatedly the operation represented by a web.files.FileRequest object in progress.

`instanceOfFileRequest.onprogress = function;

Where instanceOfFileRequest is a web.files.FileRequest object and function is the JavaScript function to execute.

Each time the function callback is called, it gets an object as its first parameter. Those objects contain two properties:

loaded A number representing the current amount of bytes processed by the operation. total A number representing the total amount of bytes that will be processed by the operation.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/FileRequest/onprogress

Property.

[Non Standard]

This property specifies a callback function to be run repeatedly
the operation represented by a `web.files.FileRequest` object
in progress.

`instanceOfFileRequest.onprogress = function;

Where instanceOfFileRequest is a `web.files.FileRequest` object and function is the JavaScript function to execute.

Each time the function callback is called, it gets an object as its first parameter. Those objects contain two properties:


loaded
A number representing the current amount of bytes processed by the operation.
total
A number representing the total amount of bytes that will be processed by the operation.`

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

onsuccesscljs

(onsuccess this)

Property.

A callback handler called when the operation represented by the is completed.

Property.

A callback handler called when the operation represented by the
is completed.
sourceraw docstring

ready-statecljs

(ready-state this)

Property.

A string indicating whether or not the operation is finished Its value is either "done" or "pending".

Property.

A string indicating whether or not the operation is finished
Its value is either "done" or "pending".
sourceraw docstring

resultcljs

(result this)

Property.

The operation's result.

Property.

The operation's result.
sourceraw docstring

set-error!cljs

(set-error! this val)

Property.

Error information, if any.

Property.

Error information, if any.
sourceraw docstring

set-onerror!cljs

(set-onerror! this val)

Property.

A callback handler that gets called when an error occurs while the operation.

Property.

A callback handler that gets called when an error occurs while
the operation.
sourceraw docstring

set-onprogress!cljs

(set-onprogress! this val)

Property.

[Non Standard]

This property specifies a callback function to be run repeatedly the operation represented by a web.files.FileRequest object in progress.

`instanceOfFileRequest.onprogress = function;

Where instanceOfFileRequest is a web.files.FileRequest object and function is the JavaScript function to execute.

Each time the function callback is called, it gets an object as its first parameter. Those objects contain two properties:

loaded A number representing the current amount of bytes processed by the operation. total A number representing the total amount of bytes that will be processed by the operation.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/FileRequest/onprogress

Property.

[Non Standard]

This property specifies a callback function to be run repeatedly
the operation represented by a `web.files.FileRequest` object
in progress.

`instanceOfFileRequest.onprogress = function;

Where instanceOfFileRequest is a `web.files.FileRequest` object and function is the JavaScript function to execute.

Each time the function callback is called, it gets an object as its first parameter. Those objects contain two properties:


loaded
A number representing the current amount of bytes processed by the operation.
total
A number representing the total amount of bytes that will be processed by the operation.`

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

set-onsuccess!cljs

(set-onsuccess! this val)

Property.

A callback handler called when the operation represented by the is completed.

Property.

A callback handler called when the operation represented by the
is completed.
sourceraw docstring

set-ready-state!cljs

(set-ready-state! this val)

Property.

A string indicating whether or not the operation is finished Its value is either "done" or "pending".

Property.

A string indicating whether or not the operation is finished
Its value is either "done" or "pending".
sourceraw docstring

set-result!cljs

(set-result! this val)

Property.

The operation's result.

Property.

The operation's result.
sourceraw docstring

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

× close