parentNode property
Gets the parent of this SVGElementInstance object within the instance tree.
![]() ![]() |
Syntax
| JavaScript |
|---|
p = object.parentNode |
Property values
Type: Object
The parent object, or null if there is no parent object.
Standards information
- Scalable Vector Graphics: Document Structure, Section 5.11.9
Remarks
Every SVGElementInstance object has a parent, except for the object that corresponds to the element that the use element directly references.
See also
Show:

