Skip to content

Commit 6e1db82

Browse files
author
Bogdan Sikora
committed
Transparent type added GameConfig
1 parent 9db9511 commit 6e1db82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/core/typedefs/GameConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* @property {boolean} [autoFocus=true] - Automatically call window.focus() when the game boots. Usually necessary to capture input events if the game is in a separate frame.
2020
* @property {(boolean|Phaser.Core.Types.InputConfig)} [input] - Input configuration, or `false` to disable all game input.
2121
* @property {boolean} [disableContextMenu=false] - Disable the browser's default 'contextmenu' event (usually triggered by a right-button mouse click).
22+
* @property {boolean} [transparent=false] - Whether the game canvas will have a transparent background.
2223
* @property {(boolean|Phaser.Core.Types.BannerConfig)} [banner=false] - Configuration for the banner printed in the browser console when the game starts.
2324
* @property {Phaser.Core.Types.DOMContainerConfig} [dom] - The DOM Container configuration object.
2425
* @property {Phaser.Core.Types.FPSConfig} [fps] - Game loop configuration.

0 commit comments

Comments
 (0)