mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
📝 Add docs on screen module.
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user