device.getParentElement

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

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

Parameters:
Name Type Description
element string | HTMLElement

the parent element name or a HTMLElement object

Returns:
Type Description
HTMLElement

the parent Element

Powered by webdoc!