阅读背景:

AngularJS:从指令访问ngTouch服务?

来源:互联网 

I really love how the new ng-click directive in Angular now automatically includes functionality for touch events. However, I am wondering if it is possible to access that touch-event service from my custom directive? I have lots of directives that require that I bind a click event to the given element, but I'm simply doing that using the typical jquery syntax (ex: directive in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: