mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-25 11:46:06 +02:00
feat(window): add incognito option (#418)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"window-js": "minor"
|
||||
---
|
||||
|
||||
Add `incognito` window configuration option
|
||||
@@ -1884,6 +1884,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 {
|
||||
|
||||
Reference in New Issue
Block a user