web api interface
SVGForeignObjectElement
The SVGForeignObjectElement interface provides access to the properties of <foreignObject> elements, as well as methods to manipulate them.
Instance properties
This interface also inherits properties from its parent, SVGGraphicsElement.
xRead only- : An
SVGAnimatedLengthcorresponding to thexattribute of the given<foreignObject>element.
- : An
yRead only- : An
SVGAnimatedLengthcorresponding to thexattribute of the given<foreignObject>element.
- : An
widthRead only- : An
SVGAnimatedLengthcorresponding to thewidthattribute of the given<foreignObject>element.
- : An
heightRead only- : An
SVGAnimatedLengthcorresponding to theheightattribute of the given<foreignObject>element.
- : An
Instance methods
This interface has no methods but inherits methods from its parent, SVGGraphicsElement.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.