electron/docs/api/common/screen.md

12 lines
235 B
Markdown
Raw Normal View History

2014-01-07 12:35:13 +00:00
# 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.