Pointer events and pointer capture - Basic JavaScript Fast (67)

Published: 03 March 2024
on channel: Begin Coding Fast
125
6

Pointer events can replace mouse events, with additional properties such as pointerId, pointerType, and isPrimary. The advantage of pointer events is that they can address more than one touch point on a tablet or a touchscreen. Also, pointer events allow pointer capturing events, so that the element can keep track of the cursor position. Corresponding pointer capture methods can be applied to elements.

2:27 - Pointer events
3:17 - pointerId, pointerType, isPrimary
7:41 - setPointerCapture, releasePointerCapture, gotpointercapture, lostpointercapture

Playlist of my JavaScript course
   • [20 hours] JavaScript tutorial for be...  

Playlist of my HTML5 and CSS3 tutorials
   • [12 hours] HTML and CSS tutorials for...  

Playlist of my algorithm walkthrough
   • Algorithms and data structures | DSA ...  

Playlist of my Java course
   • [14 hours] Java tutorial for beginner...  

Playlist of my Java examples
   • Java projects for beginners | Java pr...  

#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #setpointercapture #releasepointercapture


On this page of the site you can watch the video online Pointer events and pointer capture - Basic JavaScript Fast (67) with a duration of hours minute second in good quality, which was uploaded by the user Begin Coding Fast 03 March 2024, share the link with friends and acquaintances, this video has already been watched 125 times on youtube and it was liked by 6 viewers. Enjoy your viewing!