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.

条与 "" 相匹配的结果

    没有与 "" 匹配的结果