Theia tracks the maximized state of Electron Browser Windows.
Whether the web view accepts a single mouse-down event that simultaneously
activates the window. Default is
Whether the window should always stay on top of other windows. Default is
Auto hide the menu bar unless the
Alt key is pressed. Default is
Window's background color as a hexadecimal value, like
#80FFFFFF (alpha in #AARRGGBB format is supported if
transparent is set to
true). Default is
Show window in the center of the screen.
Whether window is closable. This is not implemented on Linux. Default is
Forces using dark theme for the window, only works on some GTK desktop
environments. Default is
Whether to hide cursor when typing. Default is
Enable the window to be resized larger than screen. Only relevant for macOS, as
other OSes allow larger-than-screen windows by default. Default is
Whether the window can be focused. Default is
true. On Windows setting
focusable: false also implies setting
skipTaskbar: true. On Linux setting
focusable: false makes the window stop interacting with wm, so the window will
always stay on top in all workspaces.
false to create a Frameless Window. Default is
Whether the window should show in fullscreen. When explicitly set to
fullscreen button will be hidden or disabled on macOS. Default is
Shows the title in the title bar in full screen mode on macOS for all
titleBarStyle options. Default is
Whether the window can be put into fullscreen mode. On macOS, also whether the
maximize/zoom button should toggle full screen mode or maximize window. Default
Whether window should have a shadow. Default is
Window's height in pixels. Default is
The window icon. On Windows it is recommended to use
ICO icons to get best
visual effects, you can also leave it undefined so the executable's icon will be
Whether the window is in kiosk mode. Default is
Window's maximum height. Default is no limit.
Window's maximum width. Default is no limit.
Whether window is maximizable. This is not implemented on Linux. Default is
Window's minimum height. Default is
Window's minimum width. Default is
Whether window is minimizable. This is not implemented on Linux. Default is
Whether this is a modal window. This only works when the window is a child
window. Default is
Whether window is movable. This is not implemented on Linux. Default is
Set the initial opacity of the window, between 0.0 (fully transparent) and 1.0 (fully opaque). This is only implemented on Windows and macOS.
Whether the renderer should be active when
false and it has just
been created. In order for
document.visibilityState to work correctly on
first load with
show: false you should set this to
false. Setting this to
false will cause the
ready-to-show event to not fire. Default is
Specify parent window. Default is
Whether window is resizable. Default is
Whether window should be shown when created. Default is
Use pre-Lion fullscreen on macOS. Default is
Whether to show the window in taskbar. Default is
Tab group name, allows opening the window as a native tab on macOS 10.12+.
Windows with the same tabbing identifier will be grouped together. This also
adds a native new tab button to your window's tab bar and allows your
window to receive the
WS_THICKFRAME style for frameless windows on Windows, which adds standard
window frame. Setting it to
false will remove window shadow and window
animations. Default is
Default window title. Default is
"Electron". If the HTML tag
defined in the HTML file loaded by
loadURL(), this property will be ignored.
The style of window title bar. Default is
default. Possible values are:
Set a custom position for the traffic light buttons. Can only be used with
titleBarStyle set to
Makes the window transparent. Default is
false. On Windows, does not work
unless the window is frameless.
The type of window, default is normal window. See more about this below.
height would be used as web page's size, which means the
actual window's size will include window frame's size and be slightly larger.
Add a type of vibrancy effect to the window, only on macOS. Can be
note that using
frame: false in combination with a vibrancy value requires
that you use a non-default
titleBarStyle as well. Also note that
ultra-dark have been
deprecated and will be removed in an upcoming version of macOS.
Settings of web page's features.
Window's width in pixels. Default is
(required if y is used) Window's left offset from screen. Default is to center the window.
(required if x is used) Window's top offset from screen. Default is to center the window.
Controls the behavior on macOS when option-clicking the green stoplight button
on the toolbar or by clicking the Window > Zoom menu item. If
true, the window
will grow to the preferred width of the web page when zoomed,
false will cause
it to zoom to the width of the screen. This will also affect the behavior when
maximize() directly. Default is