Searches up from currentElement until an element is found with the parentName.
HTML element to search up from.
Tag name of element to search for.
Found HTML element or null.
Generated using TypeDoc
Searches up from currentElement until an element is found with the parentName.