Vue.js Component To Highlight Menu Items On Scroll – scrollactive

Install & Download:

npm install --save-dev vue-scrollactive

Description:

Lightweight and simple to use vue component that highlights menu items as you scroll the page, also scrolling to target section when clicked.

Features:

  • Highlights menu items as you scroll
  • Scrolls to item’s section on click
  • Customizable easing for scrolling on click
  • Vue2
  • Uses pure JS!

Preview:

Vue.js directive

Changelog:

v0.9.3 (05/22/2020)

  • fix: scroll container always undefined

Add Comment