Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Touchmove pointer-events: none CSS does not work on Chrome for Android 4.4 / ChromeView
The touchstart event is fired when the touchpoint is positioned on the touch surface. Use addEventListener() for touchmove pointer-events −
overlay.addEventListener('touchstart', function(ev){
ev.preventDefault();
});
Here, we have also used the preventDefault() method. The preventDefault() method prevents the browser from executing the default action.
Advertisements
