Clicking on custom tags


#1

I have a have text wrapped in a custom tag in my app that uses jQuery to fire an event. On desktop I can click the text and the event fires, however on touch devices the tap does not register unless I change it to an anchor tag. Is there any thing I can change to allow custom tags to be clickable like links without having to rework my content?


#2

Hey @grib, do you have a custom directive? You can just bind a click even on it:

$element.on('click', function() { } );

should work fine.