I need to use ng-mousedown and ng-mouseup in my ionic project for mobile. when the user will click an icon and keep it pressed ng-mousedown should change the icon with another and on ng-mouseup it should take user to next page. Everything is working fine in browser but not in Mobile phone (iPhone 6).
Maybe one of the following links will help you: ngTouch: https://docs.angularjs.org/api/ngTouch, a better alternative for ngClick ngTouchstart: https://github.com/nglar/ngTouchstart, instead of mousedown ngTouchend: https://github.com/nglar/ngTouchend, instead of mouseup
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With