Optional
win: WindowReadonly
globalDisplay type of current Container.
Retrieve information about screen size and displays.
Persistent storage
Unique v4 GUID for this Container instance
Static
Readonly
defaultStatic
Readonly
layoutsStatic
Readonly
windowStatic
Readonly
windowStatic
Readonly
windowStatic
Readonly
windowsA messaging bus for sending and receiving messages
Static
ipcSet message bus used for static event broadcasting across windows.
Registers an event listener on the specified event.
The type of the event.
The event handler function.
Adds an icon and context menu to the system notification area.
Details for the tray icon.
Optional
listener: (() => void)(Optional) Callback for when the tray icon is clicked.
Optional
menuItems: MenuItem[](Optional) Context menu.
Builds the current window layout
Protected
closeProtected
createCreates a new ContainerWindow.
A new native container window wrapped within a generic ContainerWindow.
url
Optional
options: any(Optional)
Protected
deleteInvokes each listener registered for the specified event type.
The type of the event.
Protected
ensureRetrieves a list of ContainerWindow wrapped native windows.
Gets the current ContainerWindow
The current ContainerWindow
Protected
getRetrieve a list of persisted window layouts
Gets the main ContainerWindow of the application.
The main ContainerWindow.
Retrieve a ContainerWindow with provided id.
Retrieve a ContainerWindow with provided name.
Protected
getProtected
onProtected
postProtected
preProtected
registerRemoves a previous registered event listener from the specified event.
The type of the event.
The event handler function.
Name of the window layout to save
Protected
saveDisplay a notification.
Defines a title for the notification. Depending on container and choice of notification mechanism, this might not be shown.
Optional
options: NotificationOptionsNotification options.
Protected
unwrapProtected
wrapStatic
addRegisters an event listener on the specified static event.
The type of the event.
The event handler function.
Static
emitStatic
listenersStatic
removeRemoves a previous registered event listener from the specified static event.
The type of the event.
The event handler function.
Register/unregister global keyboard shortcut with the operating system.