Element: Web View

With the WebView element you can view HTML pages like in a real web browser. For that within you can configure either an URL, which can be shown in the contentDock® Viewer App only with an active Internet connection, or you upload a ZIP file with static HTML pages, so that they are completely available offline.
For static pages always use the file index.html for the start page!
Sample App
You can test this element with sample styles directly in the public area of the contentDock® Viewer App. You can also load these sample styles from the Template Library into your user account and import them into your app project.
Styles
-
BackgroundColorDefines the color of the element background. Possible values are hexadecimal and of RGBA color values.
The hexadecimal color system uses three sequently hexadecimal numbers, each representing one color of the RGB color space. Example: #ffffff for the color white.
The RGBA color system has been extended by the RGB system with an alpha value for transparencies. Example: rgba (255,255,255,0.5) for the color white with an alpha value of 0.5.Preset system value
This value is used if no style is defined for this element.
rgba(255,255,255,0)
-
BorderPositionSpecify the position of the border. The border always encloses the element, but you can choose in which direction the border will be drawn.
Possible values are:
Inside: The border is drawn inside.
Outside: The border is drawn outside.Preset system value
This value is used if no style is defined for this element.
inner
ColorDefines the color of the element border. Possible values are hexadecimal and of RGBA color values.
The hexadecimal color system uses three sequently hexadecimal numbers, each representing one color of the RGB color space. Example: #ffffff for the color white.
The RGBA color system has been extended by the RGB system with an alpha value for transparencies. Example: rgba (255,255,255,0.5) for the color white with an alpha value of 0.5.Preset system value
This value is used if no style is defined for this element.
rgba(255,255,255,0)
HeightDefines the thickness of the border in pixels surrounding the element. The value is set individually in an input field.
Please note that only integers are entered. A "px" need not be captured.Preset system value
This value is used if no style is defined for this element.
0
RadiusDefines the radius of the border in pixels used in the element corners. The value is set individually in an input field.
Please note that only integers are entered. A "px" need not be captured.Preset system value
This value is used if no style is defined for this element.
0
Show the radius top leftPreset system value
This value is used if no style is defined for this element.
1
Show the radius top rightPreset system value
This value is used if no style is defined for this element.
1
Show the radius bottom leftPreset system value
This value is used if no style is defined for this element.
1
Show the border radius bottom rightPreset system value
This value is used if no style is defined for this element.
1
-
ShadowShadow color
Preset system value
This value is used if no style is defined for this element.
#000000
Shadow opacityPreset system value
This value is used if no style is defined for this element.
0
Radius of the shadowPreset system value
This value is used if no style is defined for this element.
0
Offset height of the shadowPreset system value
This value is used if no style is defined for this element.
0
Offset width of the shadowPreset system value
This value is used if no style is defined for this element.
0