Content:
- Examples
- Properties
- Methods

A WebView in mobile development is a component that allows embedding web content within an application.

web = ui.addWebView( parent, url?, options?, width?, height? ) → ui object: WebView

Here are the available methods for the WebView Component.

Examples

Example - EnjineIO homepage click to expand contents 

Example - Call a function inside the webview click to expand contents 

Example - Getting returned values from a function in a webview click to expand contents 

Example - Manipulate dom inside the webview click to expand contents 

Properties

The following properties are available on the WebView object:

absHeightNumber
absLeftNumber
absTopNumber
absWidthNumber
backColorString
backImageString
blockUrlsList
borderNumber
borderColorString
borderStyleString
cornerRadiusNumber
disabledBoolean
documentObject
elObject
elStyleString
errorPageString
fontFileString
heightNumber
htmlString
isVisibleBoolean
leftNumber
marginsList
opacityNumber
optionsString
paddingList
parentObject
positionObject
rotationNumber
textColorString
textSizeNumber
textZoomNumber
topNumber
typeString
urlString
visibilityString
widthNumber
windowObject

Methods

The following methods are available on the WebView object:

getPosition( options ) → Object
gone()
hide()
print()
reload()
setScale( x, y )
show()
stop()