Protected
autoList of code blocks to be executed after JS-files and CSS-files have been loaded.
Auto Inject WebView JavaScript Bridge on load finished? Defaults to true.
Protected
autoList of js-files to be auto injected on load finished
Protected
autoList of css-files to be auto injected on load finished
Android: Is the built-in zoom mechanisms being used
Android: Enable/Disabled database storage API. Note: It affects all webviews in the process.
Android: Enable/disable debug-mode
Android: displays on-screen zoom controls when using the built-in zoom mechanisms
Android: Enable/Disabled DOM Storage API. E.g localStorage
Whether to install event bridge
Whether to install promise polyfill
ANDROID: should the webview support nested scroll. Default to true
Note: This can break some web views like maps pinch to zoom.
iOS: Should the scrollView bounce? Defaults to true.
Gets or sets the url, local file path or HTML string.
Readonly
supportXLocalAndroid: should the webview support zoom
Protected
tempPrevent this.src loading changes from the webview's onLoadFinished-event
Set viewport metadata for the webview. Set to false to disable.
Note: WkWebView defaults initial-scale=1.0.
Static
isIs Fetch API supported?
Note: Android's Native Fetch API needs to be replaced with the polyfill.
Static
isDoes this platform's WebView support promises?
Static
Readonly
supportXLocalAbstract
canGets a value indicating whether the WebView can navigate back.
Abstract
canGets a value indicating whether the WebView can navigate forward.
Static
enterStatic
exitStatic
loadString value used when hooking to loadFinished event.
Static
loadStatic
loadString value used when hooking to loadStarted event.
Static
requestStatic
shouldString value used when hooking to shouldOverrideUrlLoading event
Static
titleStatic
webStatic
webStatic
webStatic
webAbstract
_loadAbstract
_loadCallback for the loadFinished-event. Called from the native-webview
Optional
error: stringCallback for onLoadStarted-event from the native webview
URL being loaded
Optional
navigationType: NavigationTypeType of navigation (iOS-only)
Callback for should override url loading. Called from the native-webview
GET, POST etc
Optional
navigationType: NavigationTypeType of navigation (iOS-only)
Abstract
executeExecute JavaScript inside the webview. The code should be wrapped inside an anonymous-function. Larger scripts should be injected with loadJavaScriptFile. NOTE: stringifyResult only applies on iOS.
Optional
stringifyResult: booleanAbstract
getAbstract
getAbstract
goAbstract
goProtected
injectProtected
injectLoad multiple JavaScript-files on the current page in the webview.
Load multiple stylesheet-files on the current page in the webview
Load URL - Wait for promise
A basic method signature to hook an event listener (shortcut alias to the addEventListener method).
String corresponding to events (e.g. "propertyChange"). Optionally could be used more events separated by ,
(e.g. "propertyChange", "change").
Callback function which will be executed when event is raised.
Optional
thisArg: anyAn optional parameter which will be used as this
context for callback execution.
Raised before the webview requests an URL. Can be cancelled by settings args.cancel = true in your event handler.
Optional
thisArg: anyRaised when a loadStarted event occurs.
Optional
thisArg: anyRaised when a loadFinished event occurs.
Optional
thisArg: anyRaised when a loadProgress event occurs.
Optional
thisArg: anyRaised when a titleChanged event occurs.
Optional
thisArg: anyOverride web alerts to replace them. Call args.cancel() on close.
Optional
thisArg: anyOverride web confirm dialogs to replace them. Call args.cancel(res) on close.
Optional
thisArg: anyOverride web confirm prompts to replace them. Call args.cancel(res) on close.
Optional
thisArg: anyGet Android WebView console entries.
Optional
thisArg: anyGet Android WebView console entries.
Optional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyProtected
parseAbstract
registerAbstract
reloadAbstract
stopAbstract
unregisterAbstract
zoomAbstract
zoomAbstract
zoom
Represents a standard WebView widget.