Main documentation
GitHub
Preparing search index...
The search index is not available
Photo Sphere Viewer
Photo Sphere Viewer
Core
utils
hasParent
Function hasParent
hasParent
(
el
:
HTMLElement
,
parent
:
Element
)
:
boolean
Searches if an element has a particular parent at any level including itself
Parameters
el
:
HTMLElement
parent
:
Element
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Main documentation
GitHub
Photo Sphere Viewer
Loading...
Searches if an element has a particular parent at any level including itself