Skip to content

Instantly share code, notes, and snippets.

@Jagathishrex
Created April 22, 2020 02:17
Show Gist options
  • Save Jagathishrex/471151c42589c972bae68a26204bdbbd to your computer and use it in GitHub Desktop.
Save Jagathishrex/471151c42589c972bae68a26204bdbbd to your computer and use it in GitHub Desktop.
let clonedSvgElement = svgElement.cloneNode(true);
// true for deep clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment