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

locked-filecljs

(locked-file this)

Property.

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.

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

onprogresscljs

(onprogress this)

Property.

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.

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

set-locked-file!cljs

(set-locked-file! this val)

Property.

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.

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

set-onprogress!cljs

(set-onprogress! this val)

Property.

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.

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

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

× close