Ionic which is faster ng-click or on-tap -


Ionic on Tap or ng-click on a mobile device is fast in meicon, they look very similar to me but onClick is very slow

  & lt; Button class = "Button Button-Light Button-Dark" On-Tap = "OnTap ()" & gt; Tap & lt; / Button & gt; & Lt; Button class = "Button Button-Light Button-Dark" ng-click = "Onclick ()" & gt; & Lt; / Button & gt; Click;  

Both should be pretty, because one tap should be set based on just how long. The touch event occurs I did something like the following and console.log the methods when they removed the callback. I think the tap is going first, but my test is being clicked at the same time.

  & lt; Button class = "button" on-tap = "onTap ()" ng-click = "OnClick ()" & gt; Hit me & lt; / Button & gt;  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -