Device#windows
  • References/Game Development/Phaser/System/Device

windows : boolean Is running on windows? Source code:

2025-01-10 15:47:30
DOM.layoutBounds
  • References/Game Development/Phaser/System/DOM

<static, readonly> layoutBounds : Phaser.Rectangle

2025-01-10 15:47:30
Device#cocoonJS
  • References/Game Development/Phaser/System/Device

cocoonJS : boolean Is the game running under CocoonJS? Source code:

2025-01-10 15:47:30
Device#silk
  • References/Game Development/Phaser/System/Device

silk : boolean Set to true if running in the Silk browser (as used on the Amazon Kindle)

2025-01-10 15:47:30
Device#LITTLE_ENDIAN
  • References/Game Development/Phaser/System/Device

LITTLE_ENDIAN : boolean Same value as littleEndian. Source code:

2025-01-10 15:47:30
Device#linux
  • References/Game Development/Phaser/System/Device

linux : boolean Is running on linux? Source code:

2025-01-10 15:47:30
Device#safariVersion
  • References/Game Development/Phaser/System/Device

safariVersion : number If running in Safari this will contain the major version number.

2025-01-10 15:47:30
Device#mp3
  • References/Game Development/Phaser/System/Device

mp3 : boolean Can this device play mp3 files? Source code:

2025-01-10 15:47:30
Device#littleEndian
  • References/Game Development/Phaser/System/Device

littleEndian : boolean Is the device big or little endian? (only detected if the browser supports TypedArrays)

2025-01-10 15:47:30
DOM.inLayoutViewport()
  • References/Game Development/Phaser/System/DOM

<static> inLayoutViewport(element, cushion) → {boolean}

2025-01-10 15:47:30