{"library":"vue-scrollactive","type":"library","category":null,"description":"A lightweight Vue component for scroll-based menu highlighting and smooth scrolling to sections. Current stable version is 0.9.3, released on npm. It automatically adds an 'active' class to menu items as corresponding sections come into view, and scrolls to the target section on click. Key differentiators: supports both href-based and custom data attribute selectors, configurable easing and offset, emits itemchanged events, and allows dynamic menu items. Compared to alternatives like vue-scrollspy or vue-scrollto, this component combines scrollspy and scroll-to behavior in one package with a simple plugin API. Works with Vue 2 only (no Vue 3 support). Dependencies: requires Promise polyfill for older browsers.","language":"javascript","status":"active","version":"0.9.3","tags":["javascript","vue","vue-plugin","vue-component","scrollspy","scroll","active","active-class","menu-item"],"last_verified":"Fri May 01","install":[{"cmd":"npm install vue-scrollactive","imports":["import VueScrollactive from 'vue-scrollactive'; Vue.use(VueScrollactive);","const VueScrollactive = require('vue-scrollactive'); Vue.use(VueScrollactive);","<script src=\"path/to/vue-scrollactive.min.js\"></script>\n// VueScrollactive is available as window.VueScrollactive\nVue.use(VueScrollactive);"]},{"cmd":"yarn add vue-scrollactive","imports":[]},{"cmd":"pnpm add vue-scrollactive","imports":[]}],"homepage":null,"github":"https://github.com/eddiemf/vue-scrollactive","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-scrollactive","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}