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

quirksMode : boolean Is the browser running in strict mode (false) or quirks mode? (true)

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

hlsVideo : boolean Can this device play hls video files? Source code:

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

<static> getOffset(element, point) → {

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

new RequestAnimationFrame(game, forceSetTimeOut) Abstracts away the use of RAF or setTimeOut for the core

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

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

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

electron : boolean Is the game running under GitHub Electron? Source code:

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

webAudio : boolean Is the WebAudio API available? Source code:

2025-01-10 15:47:30
RequestAnimationFrame#stop()
  • References/Game Development/Phaser/System/RequestAnimationFrame

stop() Stops the requestAnimationFrame from running. Source code:

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

ieVersion : number If running in Internet Explorer this will contain the major version number. Beyond IE10 you should use Device

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

<static> addToDOM(canvas, parent, overflowHidden) → {HTMLCanvasElement}

2025-01-10 15:47:30