Methods
createNodeFromTemplate(html) → {HTMLElement}static
#
Parameters:
Name | Type | Description |
---|---|---|
html |
string | markup of the template |
- Source:
Returns:
a cloned root element of the template
- Type
- HTMLElement
escapeHTML(str) → {string}static
#
Parameters:
Name | Type | Description |
---|---|---|
str |
string |
- Source:
Returns:
The string with any HTML entities escaped.
- Type
- string