The $touchProvider
allows enabling / disabling ngTouch's ngClick directive.
Call this method to enable/disable ngTouch's ngClick directive. If enabled, the default ngClick directive will be replaced by a version that eliminates the 300ms delay for click events on browser for touch-devices.
The default is false
.
Param | Type | Details |
---|---|---|
enabled (optional) | boolean | update the ngClickOverrideEnabled state if provided, otherwise just return the current ngClickOverrideEnabled state |
* |
current value if used as getter or itself (chaining) if used as setter |
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.5.11/docs/api/ngTouch/provider/$touchProvider