HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Touch event is triggered when the user touches the screen (page).
Touch event is equally applicable and on desktop: Click or slide the mouse! |
Click event is triggered when the user clicks on the element.
Examples are as follows: click on the <p> element, the hidden current <p> element:
Click and hold (long press) in the click event does not put (about one second) after the trigger
Slide the event is within the user drag and drop more than one second level 30PX, longitudinal or drag event is less than 20px trigger events:
Swipe left drag event when the user left the trigger element is greater than 30px:
Swipe to the right event at the right trigger when the user drags the element is greater than 30px: