A global variable exposed on windows to access the windowmanager-related API.
Properties:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
version |
String
|
version of windowmanager |
||||||||||||||||||||||||
runtime |
Object
|
contains runtime-specific info |
||||||||||||||||||||||||
| Name | Type | Description |
|---|---|---|
name |
String
|
name of runtime (ie. Chrome, IE, OpenFin, Electron, ect) |
version |
String
|
version of runtime (ie. Chrome, IE, OpenFin, Electron, ect) |
isBrowser |
Boolean
|
is this running in a browser |
isElectron |
Boolean
|
is this running in Electron |
isOpenFin |
Boolean
|
is this running in OpenFin |
isDesktop |
Boolean
|
is this a desktop OS |
isMobile |
Boolean
|
is this a mobile OS |
isMain |
Boolean
|
is this the main/startup window |
WindowWindow
window class
geometrygeometry
geometry library
messagebusmessagebus
message bus for application
Extends
Members
(static) Layout
Add layout to windowmanager object.
Methods
(static) isReady() → {Boolean}
Returns if windowmanager is ready.
Returns:
- Type:
-
Boolean
(static) onReady(callback)
Executes callback when windowmanager is ready.
Parameters:
| Name | Type | Description |
|---|---|---|
callback |
callback
|