{"library":"vue-use-active-scroll","type":"library","category":null,"description":"Vue 3 composable for accurate TOC/sidebar active link tracking without Intersection Observer compromises. Current stable version 1.1.3 (released 2024). Zero runtime dependencies, ships TypeScript types. Unlike typical Intersection Observer solutions, it implements a custom scroll observer that reliably highlights clicked links that never intersect, handles first/last link at page boundaries, and works consistently across scroll speeds, smooth scrolling, and hash navigation. Supports template refs or DOM elements in place of IDs, customizable offsets per scroll direction, and custom scroll containers. Does not scroll to targets or manipulate DOM. Released on npm with monthly cadence.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","vue","vue3","vue-scroll","vue-scroll-active","vue-active-scroll","vue-active-link","vue-toc","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-use-active-scroll","imports":["import { useActiveScroll } from 'vue-use-active-scroll'","import { useActiveScroll } from 'vue-use-active-scroll'","import { isActive } from 'vue-use-active-scroll'"]},{"cmd":"yarn add vue-use-active-scroll","imports":[]},{"cmd":"pnpm add vue-use-active-scroll","imports":[]}],"homepage":"https://vue-use-active-scroll.netlify.app/","github":"https://github.com/smastrom/vue-use-active-scroll","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-use-active-scroll","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-use-active-scroll/compatibility"}}