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

The Vue.js 3 Masterclass

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

Closing the Mobile Navbar on Scroll

In this lesson we create another custom Vue.js 3 directive to run code when the page is scrolled. We also learn about debouncing scroll events, in order to prevent over firing our onscroll functions.