diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F18FD3A0-9CCC-4117-8CC4-4222842E8C59.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F18FD3A0-9CCC-4117-8CC4-4222842E8C59.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,18 @@ + + +onshow

onshow

+

Description:

+

The onshow property is an event handler for the event of when a widget is switching from the background to the foreground. In other words, when an opened widget gains focus, the assigned callback function will be called.

+

This property is useful for managing the functionality of the widget in relation to other applications on the device.

+

Syntax:

+
[void] window.widget.onshow = function() { }
+

or

+
[void] window.widget.onshow = toForeground;
+
function  toForeground()
+{
+ // ...
+}
+
\ No newline at end of file