mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #23151 from Donkey-Kurt/patch-1
add missing props for android webview
This commit is contained in:
Vendored
+9
@@ -1945,6 +1945,15 @@ export interface WebViewPropertiesAndroid {
|
||||
* Sets the user-agent for the WebView.
|
||||
*/
|
||||
userAgent?: string;
|
||||
|
||||
/**
|
||||
* Specifies the mixed content mode. i.e WebView will allow a secure origin to load content from any other origin.
|
||||
Possible values for mixedContentMode are:
|
||||
'never' (default) - WebView will not allow a secure origin to load content from an insecure origin.
|
||||
'always' - WebView will allow a secure origin to load content from any other origin, even if that origin is insecure.
|
||||
'compatibility' - WebView will attempt to be compatible with the approach of a modern web browser with regard to mixed content.
|
||||
*/
|
||||
mixedContentMode?: "never" | "always" | "compatibility";
|
||||
}
|
||||
|
||||
export interface WebViewIOSLoadRequestEvent {
|
||||
|
||||
Reference in New Issue
Block a user