SetDefaultViewport method: Utils class

Syntax

SetDefaultViewport()

Description

Use the SetDefaultViewport method to set the viewport to the default system settings.

Important:

Setting the viewport for each fluid component ensures that your fluid applications operate properly across all device types, particularly on small form factor devices such as smart phones. This method is the recommended approach for setting the viewport because it sets the recommended defaults.

Parameters

None

Returns

None

Example

(create PT_PAGE_UTILS:Utils()).SetDefaultViewport();