Jahzzman / svgpan

Automatically exported from code.google.com/p/svgpan
0 stars 0 forks source link

Antegrate with Angular #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. <span ng-include="'svg/tiger.svg'"></span> 
2. insert id <svg id="svgCanvas" 
3. Change var root = document.getElementById('svgCanvas');
4. Link script at end of SVG </svg><script xlink:href="svgpan.js" />

What is the expected output? What do you see instead?
Uncaught ReferenceError: handleMouseMove is not defined 

Would like the script to be bound to the svg root and keep working 
independently from Angular if possible. Otherwise, what is the best strtegy to 
port it to Angular.

What version of the product are you using? On what operating system?
AngularJS v1.2.9

Original issue reported on code.google.com by claude.b...@gmail.com on 29 Jan 2014 at 4:54