The Vue.js 2 Master Class
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

🚧 NOTICE: You are watching a Vue.js 2 lesson

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.