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`
(error this)
Property.
Error information, if any.
Property. Error information, if any.
(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`
(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.
(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`
(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.
(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".
(result this)
Property.
The operation's result.
Property. The operation's result.
(set-error! this val)
Property.
Error information, if any.
Property. Error information, if any.
(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.
(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`
(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.
(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".
(set-result! this val)
Property.
The operation's result.
Property. The operation's result.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close