Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Fast Clicks in AngularJS | Better HN
Fast Clicks in AngularJS
(joegaudet.com)
6 points · by
joegaudet
· 13y ago · 3 comments
Comments
[–]
hannibalhorn
13y ago
The 1.1.x branch has support for this already, by basically just overriding ng-click on touch devices, so you get the fast click functionality by default:
https://github.com/angular/angular.js/commit/707c65d5a228b44...
[–]
ha470
13y ago
We've had a lot of luck using
https://github.com/ftlabs/fastclick
, as well. It's even easier - just add a few lines and all click targets (angular or otherwise) on the site will be fast clicks.
[–]
joegaudet
OP
13y ago
Yeah fair enough, was more about playing around with angular then anything :)