documented new events

This commit is contained in:
Andy Gup 2014-05-23 16:48:00 -06:00
parent f59e5e3cf3
commit efb4c642bf

View File

@ -29,14 +29,16 @@ Property | Description
###Events
Event | Value | Description
--- | --- | ---
`VALIDATION_ERROR` | "validationError" | An error occured during initialization that could prevent proper operation of the library.
`DATABASE_ERROR` | "databaseError" | An error occured while reading or writing to the local database.
`PARSING_ERROR` | "parsingError" | An error occured while parsing the TPK file.
`DB_INIT_ERROR` | "dbInitError"| An error occurred while initializing the database.
`NO_SUPPORT_ERROR` | "libNotSupportedError"| The library won't work on this browser.
`VALIDATION_EVENT` | "validationEvent" | An event related to various checks to insure library functionality is supported.
`PROGRESS_EVENT` | "progress" | Event indicated progress status while parsing a TPK file. Parsing can take a while depending on how large the TPK is.
`PROGRESS_START` | "start" | Parsing has begun. Important for control UX elements that provide user feedback during parsing.
`PROGRESS_END` | "end" | Parsing has finished. Important for control UX elements that provide user feedback during parsing.
`WINDOW_VALIDATED` | "windowValidated" | All window related functionality has been checked. Example: Window.File and Window.FileReader.
`DB_VALIDATED` | "dbValidated" | All database checks have passed.
###TiledMapServiceLayer Override