Skip to content

Commit

Permalink
chore(api): document new options from tauri-apps#6665 (tauri-apps#7072)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored May 27, 2023
1 parent 27c5f36 commit 3303041
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/api/docs/js-api.json

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions tooling/api/src/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2391,6 +2391,18 @@ interface WindowOptions {
* The user agent for the webview.
*/
userAgent?: string
/**
* Whether the window's native maximize button is enabled or not. Defaults to `true`.
*/
maximizable?: boolean
/**
* Whether the window's native minimize button is enabled or not. Defaults to `true`.
*/
minimizable?: boolean
/**
* Whether the window's native close button is enabled or not. Defaults to `true`.
*/
closable?: boolean
}

function mapMonitor(m: Monitor | null): Monitor | null {
Expand Down

0 comments on commit 3303041

Please sign in to comment.