Use a Browser widget to display 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 Kony Visualizer Widget guide.
The following are important considerations for a Browser widget:
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.
Browser properties specify properties that are available on any platform supported by Kony Visualizer, and assign platform-specific properties.
Specifies the content source for the Browser widget. Click Edit button to open the Master Data dialog box, and select one of the following options:
Specifies whether the 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.
Specifies whether to enable a web app JavaScript module running in the Browser widget to execute JavaScript code in the Kony native context.
Specifies whether the Browser widget occupies the full screen. Typically, enabling the Full Screen Widget property is recommended. If it is disabled, a scroll bar displays either on the Browser widget or the Form.
The option you choose here becomes the default for all platforms. You can change the default option or provide a platform-specific option by forking the Full Screen Widget property. For more information, see Fork a Widget Property.
Specifies whether enable the Zoom feature for the 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.
For the iOS platform, specifies a URL to provide additional web-based functionality.
For the Windows 8 platform, specifies whether data is cached relative to the Browser widget. For more information, refer to kony.evaluateJavaScriptInNativeContext in the Kony Visualizer API Developer's Guide.
Actions define what happens when an event occurs. On a Browser widget, you can run an action when the following events occur:
Note: This action is executed only for the given request URL, but not for the subsequent web navigation request failures.
Note: This action is called only for the given request URL, but not for the subsequent web navigation requests.
The following table summarizes where a Calendar widget can be placed:
Flex Form | Yes |
VBox Form | Yes |
FlexContainer | Yes |
FlexScrollContainer | Yes |
HBox | Yes |
VBox | Yes |
ScrollBox | Horizontal
Orientation -Yes Vertical Orientation- Yes |
Tab | Yes |
Segment | No |
Popup | Yes |
Template
|
Header- No Footer- No |
The appearance of the Browser widget varies as follows:
Platform | Appearance |
---|---|
Android | |
iOS | |
SPA |
Rev | Author | Edits |
8 | SHS | SHS |
7.2.1 | SHS | SHS |
Copyright © 2013 Kony, Inc. All rights reserved. |