📝 Add docs on screen module.
This commit is contained in:
parent
bcdc44c1c6
commit
95b2003193
2 changed files with 12 additions and 0 deletions
|
@ -35,4 +35,5 @@ Common modules:
|
|||
|
||||
* [clipboard](api/common/clipboard.md)
|
||||
* [crash-reporter](api/common/crash-reporter.md)
|
||||
* [screen](api/common/screen.md)
|
||||
* [shell](api/common/shell.md)
|
||||
|
|
11
docs/api/common/screen.md
Normal file
11
docs/api/common/screen.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# 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.
|
Loading…
Reference in a new issue