visibilityChange(event)
This method is called when the document visibility is changed.
Parameters
| Name | Type | Description |
|---|---|---|
event | Event | Its type will be used to decide whether the game should be paused or not. |
- Source code: core/Stage.js (Line 281)
visibilityChange(event)
This method is called when the document visibility is changed.
| Name | Type | Description |
|---|---|---|
event | Event | Its type will be used to decide whether the game should be paused or not. |
Please login to continue.