HTML Viewer allows app users to view the HTML source code in the in-app file browser and to use them in run time.
Properties
Parameter | Description |
---|---|
Control Name | By default, the control type is posted with a unique number. Can be changed by the user using alphabets, numbers and special character (_). The maximum character limit is 100. |
Disabled | Checkbox that disables the HTML viewer if checked. |
Display | Toggle the display of the HTML viewer on choosing Hide/Show. |
Type | Choose the type of value to be displayed on the page either HTML or URL If HTML is chosen, provide the HTML text to be displayed on the page in the value field If URL is chosen, provide the URL from which text is to be displayed on the page in the value field |
Value | Indicates the HTML text or URL from which the text is to be displayed |
Origin White List | Provide the details of the page which is restricted for access by the app user |
Value Definition
Access the design editor by clicking on the Edit symbol as shown in the below image to define the HTML data to be displayed in the HTML viewer. Also, you can add HTML codes, embed links of the website to be included in the page, etc.
Style
Parameter | Description |
---|---|
Width | Choose the Layout width from 0 to 310 |
Height | Choose the Layout height from 0 to 570 |
Action
Parameter | Description |
---|---|
onError | onError event is fired when there is an error in the control |
onLoad | Define an action that should happen when the page is loading |
onStart | Define an action that should happen at the start of the page loading |
onProgress | Define an action that should happen when the page loading is in progress |