diff --git a/.changes/api-transparent-window.md b/.changes/api-transparent-window.md new file mode 100644 index 00000000000..496af1ca0c5 --- /dev/null +++ b/.changes/api-transparent-window.md @@ -0,0 +1,5 @@ +--- +"api": patch +--- + +Adds `transparent?: boolean` to the `WindowOptions` interface. diff --git a/tooling/api/src/window.ts b/tooling/api/src/window.ts index d5273bd90cf..14a1506ec8a 100644 --- a/tooling/api/src/window.ts +++ b/tooling/api/src/window.ts @@ -687,6 +687,8 @@ export interface WindowOptions { title?: string /** Whether the window is in fullscreen mode or not. */ fullscreen?: boolean + /** Whether the window is transparent or not. */ + transparent?: boolean /** Whether the window should be maximized upon creation or not. */ maximized?: boolean /** Whether the window should be immediately visible upon creation or not. */