Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

VueUse for Everyone

Mouse & Touch with VueUse thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Mouse & Touch with VueUse

In this lesson, we examine how VueUse exposes data from the mouse and touch events in order to reactively work with them in your Vue.js applications. The functions that we try out include usePageLeave, usePointer, and onLongPress but there are a number of others available in the VueUse docs.