Phaser API Documentation

  Version: 

Member of: Phaser.Game

canvas: HTMLCanvasElement

Description:

A reference to the HTML Canvas Element that Phaser uses to render the game. This is created automatically by Phaser unless you provide a canvas property in your Game Config.

Type:
HTMLCanvasElement
Since: 3.0.0
Source: src/core/Game.js (Line 103)