Ionic 2 div click


#1

From looking through the forums, it seems that with Angular2 (and therefore Ionic 2) the intent is that only button and a tags should be clickable, as these are the only elements that respond well to click events. Putting a click event on something like a div results in delays, missed clicks, etc. But using buttons forces styling that is nearly impossible to change . Are there any other options to have a good click experience with a totally custom component (e.g. div)? Or is there some way to use a button without any styling to it?


#2

@7200rpm You could try using the tappable attribute for elements different than <button> and <a>.