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

<static> removeFromDOM(canvas) Removes the given canvas element from the DOM.

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

webGL : boolean Is webGL available? Source code:

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

safari : boolean Set to true if running in Safari. Source code:

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

pixelRatio : number PixelRatio of the host device? Source code:

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

edge : boolean Set to true if running in Microsoft Edge browser. Source code:

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

iPhone : boolean Is running on iPhone? Source code:

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

trident : boolean Set to true if running a Trident version of Internet Explorer (IE11+)

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

typedArray : boolean Does the browser support TypedArrays? Source code:

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

<static> getSmoothingPrefix(context) → {string | null} Gets

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

webmVideo : boolean Can this device play webm video files? Source code:

2025-01-10 15:47:30