svg

svg: string | undefined

a string holding the svg data for the markup. Will be undefined if MarkupApp.stop is called without an active Markup.

@note When passed to MarkupApp.start, the string is sanitized before it is added to the document: scripts, event handler attributes, foreignObject and other non-SVG elements, and javascript: URLs are removed. use elements keep only references to content in the same document, such as href="#id".

Defined in

Last Updated: 03 December, 2026