• Editor
    • Static Methods
      • Editor.KeyCode (key)
    • Static Properties
      • Editor.isDarwin
      • Editor.isElectron
      • Editor.isMainProcess
      • Editor.isNative
      • Editor.isNode
      • Editor.isPureWeb
      • Editor.isRendererProcess
      • Editor.isRetina
      • Editor.isWin32

    Editor

    Static Methods

    Editor.KeyCode (key)

    • key number|string - Can be number(key-code) or string(key-name)
      Convenience method returns corresponding value for given keyName or keyCode.

    Static Properties

    Editor.isDarwin

    Indicates whether executes in OSX.

    Editor.isElectron

    Indicates whether executes in electron.

    Editor.isMainProcess

    Indicates whether executes in editor's main process.

    Editor.isNative

    Indicates whether executes in native environment (compare to web-browser).

    Editor.isNode

    Indicates whether executes in node.js application.

    Editor.isPureWeb

    Indicates whether executes in common web browser.

    Editor.isRendererProcess

    Indicates whether executes in editor's core process (electron's browser context).

    Editor.isRetina

    Check if running in retina display.

    Editor.isWin32

    Indicates whether executes in Windows.