SVG and on-drag and similar events


#1

Hi there, has anyone managed to get touch/drag detection working on SVG points? They work fine on browsers but not on mobiles.

I found threads on SO (like this) but I’m curious if ionic offers an easier wrapped around directive? on-drag etc. don’t seem to work


#2

you can add events to svg by add event handler but best methods id to simply make directive for it … have a look on this link http://stackoverflow.com/questions/20399336/how-do-i-use-angularjs-directives-in-generated-d3-html