new DOM() DOM utility class. Provides a useful Window and Element functions as well as cross-browser compatibility buffer.
linux : boolean Is running on linux? Source code:
littleEndian : boolean Is the device big or little endian? (only detected if the browser supports TypedArrays)
ejecta : boolean Is the game running under Ejecta? Source code:
<static> inLayoutViewport(element, cushion) → {boolean}
arora : boolean Set to true if running in Arora. Source code:
canvas : boolean Is canvas available? Source code:
<static> getBounds(element, cushion) → {Object | boolean}
mobileSafari : boolean Set to true if running in Mobile Safari. Source code:
<static, readonly> layoutBounds : Phaser.Rectangle
Page 2 of 12