Changes

Jump to navigation Jump to search

platform.isTabletModeRendering

617 bytes added, 14:35, 9 July 2013
Created page with "platform.'''isTabletModeRendering''' is a function that is part of platform. Returns a boolean : * ''true'' if the script is running on a tablet device..."
platform.'''isTabletModeRendering''' is a function that is part of [[:Category:platform|platform]].


Returns a boolean :
* ''true'' if the script is running on a tablet device (iPad app, for example).
* ''false'' if the script is running somewhere else (Calculator, Computer software...).


{{Since|3.0}}

== Syntax ==
platform.'''isTabletModeRendering'''()

== Example ==
<syntaxhighlight>isTablet = platform.isTabletModeRendering()
-- will set the boolean isTablet to true</syntaxhighlight>

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

<br />

[[Category:platform]]

Navigation menu