Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Fast Clicks in AngularJS | Better HN
Fast Clicks in AngularJS
(opens in new tab)
(joegaudet.com)
6 points
joegaudet
12y ago
3 comments
Share
3 comments
default
newest
oldest
hannibalhorn
12y 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
12y 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
12y ago
Yeah fair enough, was more about playing around with angular then anything :)
j
/
k
navigate · click thread line to collapse