Created
May 25, 2020 03:52
-
-
Save patsma/4af21355fcd75387f922adc10d114eff to your computer and use it in GitHub Desktop.
target svg from object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const svg = document.getElementById('scene').getSVGDocument(); | |
const shape01 = svg.getElementById('shape-01'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment