Changes

Jump to navigation Jump to search

platform.isColorDisplay

560 bytes added, 00:41, 25 May 2011
Created page with "platform.'''isDeviceModeRendering''' is a function that is part of platform. Returns a boolean : * ''true'' if the script is running on the hand-held de..."
platform.'''isDeviceModeRendering''' is a function that is part of [[:Category:platform|platform]].


Returns a boolean :
* ''true'' if the script is running on the hand-held device or in the emulator of the desktop software.
* ''false'' if the script is running in the normal view of the desktop software.


{{Since|3.0}}

== Syntax ==
platform.'''isDeviceModeRendering'''()

== Example ==
<syntaxhighlight>device = platform.isDeviceModeRendering()</syntaxhighlight>

== See also ==
*[[:Category:platform|platform]]

<br /><br />


[[Category:platform]]

Navigation menu