Canvas.addToDOM()
  • References/Game Development/Phaser/System/Canvas

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

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
Device#canvasBitBltShift
  • References/Game Development/Phaser/System/Device

canvasBitBltShift : boolean True if canvas supports a 'copy' bitblt onto itself when the source and destination regions overlap

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

iOS : boolean Is running on iOS? Source code:

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

dolby : boolean Can this device play EC-3 Dolby Digital Plus files? Source

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

isConsoleOpen() Check whether the console is open.Note that this only works in Firefox with Firebug and earlier versions of Chrome

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
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#opus
  • References/Game Development/Phaser/System/Device

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

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

node : boolean Is the game running under Node.js? Source code:

2025-01-10 15:47:30