Namespaces

Classes

WebDialog

Namespaces

Cocoon
App
Device
Dialog
Motion
Proxify
Touch
Utils
WebView
Widget

Events

On application activated

Allows to listen to events called when the application is activated. The callback function does not receive any parameter.

Example
Cocoon.App.on("activated", function(){
 ...
});

On application suspended

Allows to listen to events called when the application is suspended. The callback function does not receive any parameter.

Example
Cocoon.App.on("suspended", function(){
 ...
});

On application suspending

Allows to listen to events called when the application is suspending. The callback function does not receive any parameter.

Example
Cocoon.App.on("suspending", function(){
 ...
});

On memory warning

Allows to listen to memory warning notifications from the system It is strongly recommended that you implement this method and free up as much memory as possible by disposing of cached data objects, images on canvases that can be recreated.

Example
Cocoon.App.on("memorywarning", function(){
 ...
});
Cocoon Canvas+ - JavaScript Documentation by Ludei, DocStrap Copyright © 2012-2013
The contributors to the JSDoc3 and DocStrap projects.