Methods
(static) getUUID4() → {string}
- Description:
Get an UUID4 instance.
Returns:
UUID4 value.
- Type
- string
(static) getHTMLElementByID(elementID) → {HTMLElement}
- Description:
Get HTML element by ID.
Parameters:
| Name | Type | Description |
|---|---|---|
elementID |
string | Element ID. |
Throws:
-
- If HTML element with given
elementIDdoesn't exist.
- If HTML element with given
- Type
- HTMLElementDoesNotExistException
Returns:
HTML element.
- Type
- HTMLElement
(static) convertTemplateToDOMElement(template) → {ChildNode}
- Description:
Convert given
templateto usableChildNode.
Parameters:
| Name | Type | Description |
|---|---|---|
template |
string | Template that consists of valid HTML structure. |
Returns:
Child noe.
- Type
- ChildNode