3 ms·
what is the "evt" you are passing in onload="init(evt)"? doesnt look like you need it since it isnt used anyway. cool project!
by the_cat_kittles 9y ago
what is the "evt" you are passing in onload="init(evt)"? doesnt look like you need it since it isnt used anyway. cool project!
- jwatt 9y agoIt's an alias for 'event'. It only exists for backwards compatibility (shouldn't be used nowadays). See "ANNOTATION 3" here: https://svgwg.org/svg2-draft/interact.html#SVGEvents https://svgwg.org/svg2-draft/interact.html#SVGEvents