correspondingElement property
Gets the corresponding element that this object is an instance of.
![]() ![]() |
Syntax
| JavaScript |
|---|
p = object.correspondingElement |
Property values
Type: Object
The corresponding element.
Standards information
- Scalable Vector Graphics: Document Structure, Section 5.11.9
Remarks
For example, if a use element references a rect element, an SVGElementInstance object is created and its corresponding element is the SVGRectElement object for the rect element.
See also
Show:

