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

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.