The goog.fs.FileSaver.EventType Enum

goog.fs.FileSaver.EventType

Events emitted by a FileSaver.

@enum
{string}

.ABORT

Emitted when the writing has been aborted. readyState will be WRITING.

.ERROR

Emitted when an error is encountered or the writing has been aborted. readyState will be WRITING.

.PROGRESS

Emitted when progress has been made in saving the file. readyState will be WRITING.

.WRITE

Emitted when the data has been successfully written. readyState will be WRITING.

.WRITE_END

Emitted when the writing is finished, whether successfully or not. readyState will be DONE.

.WRITE_START

Emitted when the writing begins. readyState will be WRITING.