HTMLElements factory See theHTMLElementsFactory for the one and only one instance of this class
Create an HTMLElement Object
| Name | Type | Description |
|---|---|---|
| tagName | String | The tag of the HTMLElement to create |
| properties | null or Object | An object with properties to add to the HTMLElement |
| parentNode | null or HTMLElement | The parent node to witch the HTMLElement will be attached |
#addProperties This method add the properties to the created element
| Name | Type | Description |
|---|---|---|
| element | HTMLElement | The HTMLElement for witch the properties will be added |
| properties | Object | An object with properties to add to the HTMLElement |