lerabot opened this issue 3 years ago · 3 comments
I've tried many things but I can't seem to access the node value...
You can use the querySVG function to get elements.
Example:
https://github.com/zenozeng/p5.js-svg/blob/67edbdbf1a19d4925afe8f30f724e1a0bc4e93bf/examples/examples/manipulating.js
I found a way to do it actually.
You can change the text by using the elt.textContent variable.
elt.textContent
@lerabot 👍