Hi Sander, I do not see a sample attached. To expand a bit more, though i'm sure it's obvious, I have a map of US, defined in SVG, and when mouseover some information about the state is displayed. I was goofing around and did a very simple "proof of concept" with jquery (had never worked with svg or jquery before that point). It worked pretty well, then I decided to use angular and a proper back end (data was inline json).
On Monday, December 8, 2014 6:27:39 AM UTC-5, Sander Elias wrote: > > Hi Jamison, > > well, of coarse you can use angular.element to do exactly the same as with > JQ. > However, I think this is a bad idea, this is namely adding a lot of > handlers to the DOM/SVG. > This will make things slower then needed. And you only need 1 handler > attached to the top level. > > Here is a sample on how something like this can be done. It was a lot of > fun to build, I never interfaced with an SVG on this level before. > > Does this help you a bit? > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
