MWidgetUtilities

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 elementID doesn't exist.
Type
HTMLElementDoesNotExistException
Returns:

HTML element.

Type
HTMLElement

(static) convertTemplateToDOMElement(template) → {ChildNode}

Description:
  • Convert given template to usable ChildNode.

Parameters:
Name Type Description
template string

Template that consists of valid HTML structure.

Returns:

Child noe.

Type
ChildNode