Using the ion list and ion element, I cannot detect the touch of an element, such as a button or div.
For example, using ng-click does not work here:
<ion-list> <ion-item ng-repeat="device in devices"> <div ng-click="deviceOption(device.id)"> CLICK HERE</div> </ion-item> </ion-list>
Instead, I tried to use a button with ion buttons, but I don't need to use it.
Why don't we have a simple ion-button directive to detect clicks inside an ion element?
source share