Phaser API Documentation

  Version: 
setHTML(html)

Description:

Sets the innerHTML property of the DOM Element node and updates the internal sizes.

Parameters:

name type description
html string

A DOMString of html to be set as the innerHTML property of the element.

Returns:
Description:

This DOM Element instance.

Since: 3.17.0