fs.ProgressEvent Extends goog.events.Event
A wrapper for the progress events emitted by the File APIs.

Inheritance

Constructor

goog.fs.ProgressEvent(eventtarget)

Parameters

event : !ProgressEvent
The underlying event object.
target : !Object
The file access object emitting the event.

Instance Methods

Public Protected Private
getLoaded() number
No description.
Returns: number  The number of bytes saved so far.
code »
getTotal() number
No description.
Returns: number  The total number of bytes in the file being saved.
code »
isLengthComputable() boolean
No description.
Returns: boolean  Whether or not the total size of the of the file being saved is known.
code »
dispose()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
disposeInternal()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
preventDefault()
Prevents the default action, for example a link redirecting to a url.
code »
stopPropagation()
Stops event propagation.
code »

Instance Properties

constructor :
No description.
Code »
event_ :
The underlying event object.
Code »
currentTarget :
Object that had the listener attached.
Code »
defaultPrevented :
Whether the default action has been prevented. This is a property to match the W3C specification at http://www.w3.org/TR/DOM-Level-3-Events/ #events-event-type-defaultPrevented. Must be treated as read-only outside the class.
Code »
propagationStopped_ :
Whether to cancel the event in internal capture/bubble processing for IE.
Code »
returnValue_ :
Return value for in internal capture/bubble processing for IE.
Code »
target :
Target of the event.
Code »
type :
Event type.
Code »

Static Properties

goog.fs.ProgressEvent.superClass_ :
No description.
Code »

Package fs

Package Reference