TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Fast Clicks in AngularJS

6 点作者 joegaudet将近 12 年前

3 条评论

hannibalhorn将近 12 年前
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: <a href="https://github.com/angular/angular.js/commit/707c65d5a228b44ab3aea2fad95516fe6c57169a" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;angular&#x2F;angular.js&#x2F;commit&#x2F;707c65d5a228b44...</a>
ha470将近 12 年前
We&#x27;ve had a lot of luck using <a href="https://github.com/ftlabs/fastclick" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ftlabs&#x2F;fastclick</a>, as well. It&#x27;s even easier - just add a few lines and all click targets (angular or otherwise) on the site will be fast clicks.
joegaudet将近 12 年前
Yeah fair enough, was more about playing around with angular then anything :)