HTMLIframeElement: getSVGDocument()-Methode
Die getSVGDocument()
-Methode des HTMLIframeElement
-Interfaces gibt das Document
-Objekt des eingebetteten SVG zurück.
Syntax
js
getSVGDocument()
Rückgabewert
Ein Document
.
Beispiele
js
const svgDoc = document.getElementById("el").getSVGDocument();
Spezifikationen
No specification found
No specification data found for api.HTMLIframeElement.getSVGDocument
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Browser-Kompatibilität
BCD tables only load in the browser