diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-55F6778A-D1DA-4288-93B2-0863558D34B7.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-55F6778A-D1DA-4288-93B2-0863558D34B7.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,18 @@ + + +onhide

onhide

+

Description:

+

The onhide property is an event handler for the event of when a widget is switching from the foreground to the background. In other words, when a running widget loses 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.onhide = function() { }
+

or

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