windowConstraints
The edges on which to constrain the game Display/canvas in addition to the restrictions of the parent container.
The properties are strings and can be '', 'visual', 'layout', or 'layout-soft'.
- If 'visual', the edge will be constrained to the Window / displayed screen area
- If 'layout', the edge will be constrained to the CSS Layout bounds
- An invalid value is treated as 'visual'
Properties:
Name | Type | Description |
---|---|---|
bottom | string | |
right | string |
Default Value
- {"right":"layout","bottom":""}
Source code: core/ScaleManager.js (Line 379)
Please login to continue.