ProtectedautoList 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.
ProtectedautoList of js-files to be auto injected on load finished
ProtectedautoList 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.
ReadonlysupportXLocalAndroid: should the webview support zoom
ProtectedtempPrevent 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.
StaticisIs Fetch API supported?
Note: Android's Native Fetch API needs to be replaced with the polyfill.
StaticisDoes this platform's WebView support promises?
Static ReadonlysupportXLocalAbstractcanGets a value indicating whether the WebView can navigate back.
AbstractcanGets a value indicating whether the WebView can navigate forward.
StaticenterStaticexitStaticloadString value used when hooking to loadFinished event.
StaticloadStaticloadString value used when hooking to loadStarted event.
StaticrequestStaticshouldString value used when hooking to shouldOverrideUrlLoading event
StatictitleStaticwebStaticwebStaticwebStaticwebAbstract_loadAbstract_loadCallback for the loadFinished-event. Called from the native-webview
Optionalerror: stringCallback for onLoadStarted-event from the native webview
URL being loaded
OptionalnavigationType: NavigationTypeType of navigation (iOS-only)
Callback for should override url loading. Called from the native-webview
GET, POST etc
OptionalnavigationType: NavigationTypeType of navigation (iOS-only)
AbstractexecuteExecute 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.
OptionalstringifyResult: booleanAbstractgetAbstractgetAbstractgoAbstractgoProtectedinjectProtectedinjectLoad 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.
OptionalthisArg: 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.
OptionalthisArg: anyRaised when a loadStarted event occurs.
OptionalthisArg: anyRaised when a loadFinished event occurs.
OptionalthisArg: anyRaised when a loadProgress event occurs.
OptionalthisArg: anyRaised when a titleChanged event occurs.
OptionalthisArg: anyOverride web alerts to replace them. Call args.cancel() on close.
OptionalthisArg: anyOverride web confirm dialogs to replace them. Call args.cancel(res) on close.
OptionalthisArg: anyOverride web confirm prompts to replace them. Call args.cancel(res) on close.
OptionalthisArg: anyGet Android WebView console entries.
OptionalthisArg: anyGet Android WebView console entries.
OptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyOptionalthisArg: anyProtectedparseAbstractregisterAbstractreloadAbstractstopAbstractunregisterAbstractzoomAbstractzoomAbstractzoom
Represents a standard WebView widget.