peMode - cWebApp

Indicates the responsive mode in which the client is running

Type: Property (Web Property)

Access: Read/Write

Data Type: Integer

Parameters: None

 { WebProperty=Client }
 Property Integer peMode

Web Property Read Access: WebGet peMode to IntegerVariable
Web Property Write Access: WebSet peMode to IntegerVariable/Value

Read Access: Get peMode to IntegerVariable
Write Access: Set peMode to IntegerVariable/Value


You can read this property to query the responsive mode setting of the client device. The responsive mode is determined by the JavaScript engine on the client by analyzing various meta data from the browser including its size and orientation.

The value returned will be one of the responsive mode constants that are described in the WebSetResponsive topic.

This property is read only.

About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.
See Also

pbResponsive | pbIsMobile