windowmanager

windowmanager

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

Properties
Name Type Description
name String

name of runtime (ie. Chrome, IE, OpenFin, Electron, ect)

version String
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 (Electron doesn't have one atm)

Window Window
geometry geometry
messagebus messagebus

message bus for application

Extends

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