| Platform | Since |
|---|---|
| Android | 0.9 |
| iPhone | 0.9 |
| iPad | 0.9 |
| Mobile Web | 0.9 |
The top level Utils module. The Utils module is a set of common JavaScript functions that are useful for applications.
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| base64decode |
decode a Base64 string |
| base64encode |
encode a string into Base64 |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| md5HexDigest |
compute a MD5 hash algorithm against the input and return a hex-based string |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| sha1 |
compute a SHA-1 hash algorithm against the input and return a hex-based string |
| sha256 |
compute a SHA-256 hash algorithm against the input and return a hex-based string |