HtmlComponentHandler

HtmlComponentHandler

For handling loading of HTML components

Constructor

new HtmlComponentHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ComponentHandler constructor arguments.

Methods

_createDomElement(entity) → {Element}

Creates a new dom element for the specified component.

Parameters:
Name Type Description
entity Entity

The entity to which the component belongs.

update(entity, config, options) → {Promise}

Update engine cameracomponent object based on the config.

Parameters:
Name Type Description
entity Entity

The entity on which this component should be added.

config Object
options Object