Cordova Browser

Use a Cordova Browser widget to display Cordova-based HTML content in your application. The HTML content can be static or obtained from a URL.

To learn how to use this widget programmatically, refer Quantum Visualizer Widget guide.

Important Considerations

The following are important considerations for a Cordova Browser widget:

Look Properties

Look properties define the appearance of the widget. The following are the major properties you can set:

For descriptions of the properties available on the Look tab of the Properties pane, see Look.

Cordova Browser Properties

Cordova Browser properties specify properties that are available on any platform supported by Quantum Visualizer, and assign platform-specific properties.

Master Data

Specifies the content source for the Cordova Browser widget. Click Edit button to open the Master Data dialog box, and select one of the following options:

Detect Phone Number

Specifies whether the Cordova Browser widget supports the detection of phone numbers on the web page and displays them as clickable links. When a user clicks a phone link, the Phone application launches and dials the number.

The option you choose becomes the default for all the platforms. You can change the default option or provide a platform-specific option by forking the Detect Phone Number property. For more information, see Fork a Widget Property.

Native Communication

Specifies whether to enable a web app JavaScript module running in the Cordova Browser widget to execute JavaScript code in the Kony native context.

Zoom

Specifies whether enable the Zoom feature for the Cordova Browser widget. The Zoom feature provides the ability to change the scale of the view area.

The option you choose here becomes the default for all the platforms. You can change the default option or provide a platform-specific option by forking the Zoom property. For more information, see Fork a Widget Property.

Base URL

For the iOS platform, specifies a URL to provide additional web-based functionality.

Enable Cache

For the Windows 8 platform, specifies whether data is cached relative to the Cordova Browser widget. For more information, refer to kony.evaluateJavaScriptInNativeContext in the Quantum Visualizer API Developer's Guide.

Actions

Actions define what happens when an event occurs. On a Cordova Browser widget, you can run an action when the following events occur:

Placement Inside a Widget

The following table summarizes where a Calendar widget can be placed:

Flex Form Yes
FlexContainer Yes
FlexScrollContainer Yes
ScrollBox Horizontal Orientation -Yes
Vertical Orientation- Yes
Tab Yes
Segment No
Popup Yes
Template

 

Header- No
Footer- No

Widget Appearance on Platforms

The appearance of the Cordova Browser widget varies as follows:

Platform Appearance
Android
iOS

 

 

 

 

Copyright © 2020 Temenos. All rights reserved.