Optimization (PhoneGap-Static HTML)

Description

optimization properties for PhoneGap static html.

Name
Description
Javascript function

Applies only to UX components. Specify the name of a Javascript function to call. This function should return a string value of 'ajax' or 'precomputed' to specify if the component should be opened by making an Ajax callback or by executing a pre-computed Javascript function that will open the component without making a callback.

Method for opening UX in a PhoneGap or Static HTML application

Normally, this component is opened by making an Ajax callback to the server. In a mobile PhoneGap application, or a static HTML application, the device might not have a connection to the server and so making an Ajax callback is not possible. In this case you can render a pre-computed version of the target UX component.