Raster.findParentWithExpando( element, expandoName )
Search up the DOM herachy starting at the given element for a parent having the given expando name.Parameters
| Name | Type | Description | |
|---|---|---|---|
| element | object | DOM Element where the search starts | |
| expandoName | string | Name of the expando to be looked up. This value is case sensitive. |
Returns
| Type | Description |
|---|---|
| object |
is no parent with the given expando name was found.
If the given element has the given expando name, the element
itself is returned. |