feat(window): add `incognito` option

pull/418/head
amrbashir 2 years ago
parent 91ffc01a91
commit 6c674e1b21
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -0,0 +1,5 @@
---
"window-js": "minor"
---
Add `incognito` window configuration option

4
Cargo.lock generated

@ -206,7 +206,7 @@ checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4"
[[package]]
name = "api"
version = "2.0.0-alpha.0"
version = "2.0.0-alpha.1"
dependencies = [
"log",
"serde",
@ -5263,7 +5263,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-notification"
version = "2.0.0-alpha.0"
version = "2.0.0-alpha.1"
dependencies = [
"log",
"notify-rust",

@ -1886,6 +1886,14 @@ interface WindowOptions {
* The user agent for the webview.
*/
userAgent?: string;
/**
* Whether or not the webview should be launched in incognito mode.
*
* #### Platform-specific
*
* - **Android:** Unsupported.
*/
incognito?: boolean;
}
function mapMonitor(m: Monitor | null): Monitor | null {

Loading…
Cancel
Save