File Viewer

Displays a file to the users in a viewable format, within the widget's layout. The users can review the file, without the need to download or open it in a new window.

Basic

File URI

Provide the URL link to the content or load the Base64 encoded data to view the file. Other file formats are also supported, for Example: data:application/pdf; base64,AAA

Interaction

Hide

This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

Style

PropertyDescription

Background

Users can change the colour of the text background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.

Border Color

Set the colour to the border lines. The border lines will be shown only if that is enabled.

Border Radius

This sets the radius of the widget's corners, enabling rounded corners on the widget. This value is defined in "px" terms.

Margin

This value is set in terms of "px" number which creates the space between the border and the content of the widget.

Padding

This value is set in terms of "px" number which creates the space between the border and outer elements.

Border Width

Set the thickness of the border of the widget using this value. It is defined using "px" terms.

Last updated