commit
2f06a2af81
2 changed files with 6 additions and 2 deletions
|
@ -44,6 +44,10 @@ built-in modules.
|
||||||
|
|
||||||
The `process` object has the following method:
|
The `process` object has the following method:
|
||||||
|
|
||||||
|
### `process.crash()`
|
||||||
|
|
||||||
|
Causes the main thread of the current process crash.
|
||||||
|
|
||||||
### `process.hang()`
|
### `process.hang()`
|
||||||
|
|
||||||
Causes the main thread of the current process hang.
|
Causes the main thread of the current process hang.
|
||||||
|
|
|
@ -62,8 +62,8 @@ a remote, virtual display.
|
||||||
|
|
||||||
* `display` object
|
* `display` object
|
||||||
* `id` Integer - Unique identifier associated with the display.
|
* `id` Integer - Unique identifier associated with the display.
|
||||||
* `rotation` Integer - Can be 0, 1, 2, 3, each represents screen rotation in
|
* `rotation` Integer - Can be 0, 90, 180, 270, represents screen rotation in
|
||||||
clock-wise degrees of 0, 90, 180, 270.
|
clock-wise degrees.
|
||||||
* `scaleFactor` Number - Output device's pixel scale factor.
|
* `scaleFactor` Number - Output device's pixel scale factor.
|
||||||
* `touchSupport` String - Can be `available`, `unavailable`, `unknown`.
|
* `touchSupport` String - Can be `available`, `unavailable`, `unknown`.
|
||||||
* `bounds` Object
|
* `bounds` Object
|
||||||
|
|
Loading…
Reference in a new issue