| Package environment |
WEB environment implementation. Provides elementary API zebkit needs to perform an environment specific operations.
Classes:
| public | void | animate (f) |
| public | void | clearInterval (id) |
| public | <Object> | getHttpRequest ( ) |
| public | <HTMLImageElement> | loadImage (img, success, [error]) |
| public | <Object> | parseJSON (json) |
| public | <Integer> | setInterval (cb, time) |
| public | <String> | stringifyJSON (jsonObj) |
|
public
void
animate (f)
Request to run a method as an animation task. Parameters:
|
|
public
void
clearInterval (id)
Clear the earlier started interval calling Parameters:
|
|
public
<Object>
getHttpRequest ( )
Build HTTP request that provides number of standard methods, fields and listeners:
Returns:
<Object>
an HTTP request object |
|
public
<HTMLImageElement>
loadImage (img, success, [error])
Loads an image by the given URL. Parameters:
Returns:
<HTMLImageElement>
an image Example:
|
|
public
<Integer>
setInterval (cb, time)
Call the given callback function repeatedly with the given calling interval. Parameters:
Returns:
<Integer>
an run interval id |