device.getElement

getElement(element: string | HTMLElement) → {HTMLElement}

return the DOM element for the given element name or HTMLElement object

Parameters:
Name Type Description
element string | HTMLElement

the parent element name or a HTMLElement object

Returns:
Type Description
HTMLElement

the corresponding DOM Element or null if not existing

Powered by webdoc!