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)
Please login to continue.