electron/docs/api/screen.md
2014-05-05 14:24:57 +08:00

235 B

screen

Gets various info about screen size, displays, cursor position, etc.

screen.getCursorScreenPoint()

Returns the current absolute position of the mouse pointer.

screen.getPrimaryDisplay()

Returns the primary display.