Phaser API Documentation

  Version: 
getParent(config)

Description:

Determines the parent element of the game canvas, if any, based on the game configuration.

Parameters:

name type description
config Phaser.Types.Core.GameConfig

The Game configuration object.

Since: 3.16.0