The "Cocoon.Touch" object holds some functions to handle the touch events in both surfaces ( Cocoon & WebView )
Methods
-
<static> disable()
-
Disables the touch events in the Cocoon environment.
Example
Cocoon.Touch.disable();
-
<static> disableInWebView()
-
Disables the touch events in the WebView environment.
Example
Cocoon.Touch.disableInWebView();
-
<static> enable()
-
Enables the touch events in the Cocoon environment.
Example
Cocoon.Touch.enable();
-
<static> enableInWebView()
-
Enables the touch events in the WebView environment.
Example
Cocoon.Touch.enableInWebView();