javascript - Is FastClick needed for normal hyperlink when used in mobile webkit? -


Accountability on JavaScript onClick events has been increased when used under WebKit, but Would it be better to respond to general hyperlinks? (E.g. & lt; a href = '' ... ... )

A normal anchor element navigates to the browser when the click event is removed. Using FastClick and clicking on the 300ms registers after the touchstart on the mobile, and a custom window.location change, will actually speed things up.

PS: I thought you are asking whether there are custom links, will be fast with FastClick; They will not , you have to add your own custom handler, you can do this easily by working at a higher level with an HTML element, say body with excellent You can use jQuery:

Comments