ngTouch.$touchProvider.ngClickOverrideEnabled()

ngClickOverrideEnabled([enabled]);

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.

Parameters

Param Type Details
enabled
(optional)
boolean

update the ngClickOverrideEnabled state if provided, otherwise just return the current ngClickOverrideEnabled state

Returns

*

current value if used as getter or itself (chaining) if used as setter

doc_AngularJS
2016-03-29 16:12:33
Comments
Leave a Comment

Please login to continue.