OptionalautoOptionalautoAutomatically round the display and style sizes of the canvas. This can help with performance in lower-powered devices.
OptionalexpandIs the Scale Manager allowed to adjust the CSS height property of the parent and/or document body to be 100%?
OptionalfullscreenThe DOM element that will be sent into full screen mode, or its id. If undefined Phaser will create its own div and insert the canvas into it when entering fullscreen mode.
OptionalheightThe base height of your game. Can be an integer or a string: '100%'. If a string it will only work if you have set a parent element that has a size.
OptionalmaxThe maximum width the canvas can be scaled up to.
OptionalminThe minimum width and height the canvas can be scaled down to.
OptionalmodeThe scale mode.
OptionalparentThe DOM element that will contain the game canvas, or its id. If undefined, or if the named element doesn't exist, the game canvas is inserted directly into the document body. If null no parent will be used and you are responsible for adding the canvas to your environment.
OptionalresizeHow many ms should elapse before checking if the browser size has changed?
OptionalsnapSet the snapping values used by the Scale Manager when resizing the canvas. See ScaleManager.setSnap for details.
OptionalwidthThe base width of your game. Can be an integer or a string: '100%'. If a string it will only work if you have set a parent element that has a size.
OptionalzoomThe zoom value of the game canvas.
Automatically center the canvas within the parent?