Dark Hacker News
new
|
best
|
ask
|
show
|
jobs
Fast Clicks in AngularJS | Dark Hacker News
Fast Clicks in AngularJS
(joegaudet.com)
6 points
by
joegaudet
12 years ago
| 3 comments
hannibalhorn
12 years ago
|
next
[−]
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
12 years ago
|
next
[−]
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
12 years ago
|
next
[−]
Yeah fair enough, was more about playing around with angular then anything :)