Akryum/vue-observe-visibility
Detect when an element is becoming visible or hidden on the page. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3540
- days_rel: n/a
- days_push: 1395
- n_releases_24m: 0
Adoption not part of the score
1644 stars · 85 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Vue 2 plugin providing a v-observe-visibility directive that uses the Intersection Observer API to detect when elements become visible or hidden on the page. It calls a callback with a boolean visibility flag and the IntersectionObserverEntry whenever visibility changes.
Use cases
- detect when an element scrolls into view in vue
- lazy-load images when they become visible
- pause animations or videos when off-screen
- track ad or content impressions on visibility
- trigger animations when a section enters the viewport
- infinite scroll visibility detection
When to choose
- you are on Vue 2 and need viewport visibility detection with a simple directive
- you want a lightweight wrapper around IntersectionObserver for Vue components
When to avoid
- you are using Vue 3, which has native IntersectionObserver patterns or alternative plugins
- you need broad legacy browser support without adding a polyfill
Facets
library · maturity maintenance
ui-components animation frontend web-development browser vue vue2 directive intersection-observer visibility-detection lazy-loading nodejs
3 sources
- readme: https://github.com/Akryum/vue-observe-visibility · fetched 2026-08-28 · 1c9cb68f0007
- homepage: https://jsfiddle.net/Akryum/ppt7endj/ · fetched 2026-08-29 · 0dc0aa99a7cd
- registry_npm: https://registry.npmjs.org/vue-observe-visibility · fetched 2026-08-29 · 6823e68970e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Akryum/vue-observe-visibility | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="Akryum/vue-observe-visibility")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem