Skip to content

Instantly share code, notes, and snippets.

@soc
Created June 10, 2014 23:40
Show Gist options
  • Select an option

  • Save soc/06e0536234785929b4bf to your computer and use it in GitHub Desktop.

Select an option

Save soc/06e0536234785929b4bf to your computer and use it in GitHub Desktop.
val svgObject = dom.document.getElementById("svg-object")
val svgDocument = svgObject.asInstanceOf[js.Dynamic].contentDocument.asInstanceOf[dom.Document]
val svgData = svgDocument.getElementById("TODO")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment