ViewHelper Documentation
v:if.client.isMobile
Will be removed in 2.0
Please don't do user agent sniffing. This is bad practice.
Condition: Client is mobile device or not
Condition ViewHelper which renders the then
child if client
is a mobile device. Uses regex patterns from http://detectmobilebrowsers.com/
by Chad Smith. Notice: The method to determine the client is not
100% exact as it is based on analyzing the user agent string and
obviously you shouldn't use this viewhelper in a cached context.
By default tablets are treated as desktop devices. Set 'includeTables'
to TRUE to treat them as mobile devices though it's more reliable
to check for maximum screen dimensions clientside.
Arguments
then anySimpleType
Value to be returned if the condition if met.
else anySimpleType
Value to be returned if the condition if not met.
includeTablets boolean