diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-6CD85E8A-698E-4BE2-B965-887E66E51ACC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-6CD85E8A-698E-4BE2-B965-887E66E51ACC.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,17 @@ + + +
Description:
+isrotationsupported
is a read-only property that returns a Boolean value determining if the device supports landscape and portrait screen orientations.
If the value is true
, the device supports both landscape and portrait screen orientations.
For more information on handling screen orientation changes in a widget, see Designing for dynamic screen orientation.
+Syntax:
+[Boolean] window.widget.isrotationsupported+
or
+[Boolean] widget.isrotationsupported+
Example code:
+See the setDisplayLandscape()
or setDisplayPortrait()
example code