fullScreenTarget :DOMElement
If specified, this is the DOM element on which the Fullscreen API enter request will be invoked.
The target element must have the correct CSS styling and contain the Display canvas.
The elements style will be modified (ie. the width and height might be set to 100%)
but it will not be added to, removed from, or repositioned within the DOM.
An attempt is made to restore relevant style changes when fullscreen mode is left.
For pre-2.2.0 behavior set game.scale.fullScreenTarget = game.canvas
.
- Source code: core/ScaleManager.js (Line 248)
Please login to continue.