Y
Hacker News
new
|
ask
|
show
|
jobs
Fast Clicks in AngularJS
(
joegaudet.com
)
6 points
by
joegaudet
4707 days ago
3 comments
hannibalhorn
4707 days 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...
link
ha470
4707 days 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.
link
joegaudet
4707 days ago
Yeah fair enough, was more about playing around with angular then anything :)
link