HTMLObjectElement: getSVGDocument() method - Web APIs | MDN
Syntax
Parameters
None.
Return value
A Document.
Examples
js
const svg = document.getElementById("el").getSVGDocument();
Specifications
| Specification |
|---|
| HTML # dom-media-getsvgdocument |
HTMLObjectElement: getSVGDocument() method - Web APIs | MDN
None.
A Document.
js
const svg = document.getElementById("el").getSVGDocument();
| Specification |
|---|
| HTML # dom-media-getsvgdocument |