| Property | Defined By | ||
|---|---|---|---|
| android : AndroidSettings
Settings to use for Android version. | Settings | ||
| cacheEnabled : Boolean = true
Enables browser cache. | Settings | ||
| cef : CefSettings
Settings to use for CEF (Windows) version. | Settings | ||
| contextMenu : ContextMenu
Sets whether a context menu will appear on right click. | Settings | ||
| downloadPath : String
The path to automatically save downloads to. | Settings | ||
| enableDownloads : Boolean = true
Sets whether downloads will be handled by the WebView. | Settings | ||
| persistRequestHeaders : Boolean = false
Persists any headers which have been added to URLRequests across multiple requests (on the same domain). | Settings | ||
| popup : Popup | Settings | ||
| urlBlackList : Vector.<String>
Vector of urls to block example .pdf,.zip - This uses a simple string match. | Settings | ||
| urlWhiteList : Vector.<String>
Vector of urls to allow through, example google.com - This uses a simple string match. | Settings | ||
| useHiDPI : Boolean = true | Settings | ||
| userAgent : String
Value that will be returned as the User-Agent HTTP header. | Settings | ||
| useTransparentBackground : Boolean = false
Sets the container Window (HWND) of the webview to be transparent. | Settings | ||
| webkit : WebkitSettings
Settings to use for WKWebView (OSX / iOS) version. | Settings | ||
| Method | Defined By | ||
|---|---|---|---|
Settings() | Settings | ||
| android | property |
public var android:AndroidSettingsSettings to use for Android version.
| cacheEnabled | property |
public var cacheEnabled:Boolean = trueEnables browser cache.
| cef | property |
public var cef:CefSettingsSettings to use for CEF (Windows) version.
| contextMenu | property |
public var contextMenu:ContextMenuSets whether a context menu will appear on right click. OSX and Windows only.
| downloadPath | property |
public var downloadPath:StringThe path to automatically save downloads to. No user dialog is shown. OSX and Windows only.
| enableDownloads | property |
public var enableDownloads:Boolean = trueSets whether downloads will be handled by the WebView. OSX and Windows only.
| persistRequestHeaders | property |
public var persistRequestHeaders:Boolean = falsePersists any headers which have been added to URLRequests across multiple requests (on the same domain).
Windows, OSX, iOS only.
| popup | property |
public var popup:Popup| urlBlackList | property |
public var urlBlackList:Vector.<String>Vector of urls to block example .pdf,.zip - This uses a simple string match. There is no regex support.
| urlWhiteList | property |
public var urlWhiteList:Vector.<String>Vector of urls to allow through, example google.com - This uses a simple string match. There is no regex support.
| useHiDPI | property |
public var useHiDPI:Boolean = true
| userAgent | property |
public var userAgent:StringValue that will be returned as the User-Agent HTTP header.
| useTransparentBackground | property |
public var useTransparentBackground:Boolean = falseSets the container Window (HWND) of the webview to be transparent.
Important! some video cards don't support this and may cause view to be invisible - Windows 8.1+ only.
| webkit | property |
public var webkit:WebkitSettingsSettings to use for WKWebView (OSX / iOS) version.
| Settings | () | Constructor |
public function Settings()