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

Master Vue.js with Vue School Premium

$25 / month

The Vue.js Master Class

Get access to this course, 18 others, and future Vue.js courses!

Close Mobile Navbar on Scroll

In this lesson, we're creating a custom vue.js directive that will be triggered when a user scrolls on our forum. It is specially developed to close the navbar on mobile devices.