DOM.documentBounds

<static, readonly> documentBounds : Phaser.Rectangle

The size of the document / Layout viewport.

This incorrectly reports the dimensions in IE.

The properties change dynamically.

Properties:
Name Type Description
width number

Document width in pixels.

height number

Document height in pixels.

Source code: utils/DOM.js (Line 274)

doc_phaser
2017-02-14 10:44:59
Comments
Leave a Comment

Please login to continue.