A WebView in mobile development is a component that allows embedding web content within an application.
Here are the available methods for the WebView Component.
Examples
Properties
The following properties are available on the WebView object:
absHeight → Number
absLeft → Number
absTop → Number
absWidth → Number
backColor → String
backImage → String
blockUrls → List
border → Number
borderColor → String
borderStyle → String
cornerRadius → Number
disabled → Boolean
document → Object
el → Object
elStyle → String
errorPage → String
fontFile → String
height → Number
html → String
isVisible → Boolean
left → Number
margins → List
opacity → Number
options → String
padding → List
parent → Object
position → Object
rotation → Number
textColor → String
textSize → Number
textZoom → Number
top → Number
type → String
url → String
visibility → String
width → Number
window → Object
Methods
The following methods are available on the WebView object:
destroy()
getPosition(
options )
→ Object
gone()
hide()
print()
reload()
show()
stop()