device.getParentElement
getParentElement(element: string | HTMLElement) → {HTMLElement}
return the parent DOM element for the given parent name or HTMLElement object
Name | Type | Description |
---|---|---|
element | string | HTMLElement |
the parent element name or a HTMLElement object |
Type | Description |
---|---|
HTMLElement |
the parent Element |