npmjs.org : rect-observer
Executes a callback whenever the bounding rectangle of an element changes. It uses `IntersectionObserver` under the hood, eliminating the need for a polling loop.
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/rect-observer
Keywords:
browser
, change-detection
, intersection-observer
, IntersectionObserver API
, IntersectionObserver
, rectangle
, RectObserver
, resize-observer
, ResizeObserver API
, ResizeObserver
, responsive-layout
, UI
, intersectionobserver-api
, rectobserver
, ui
License: MIT
Latest release: 4 months ago
First release: 9 months ago
Downloads: 30 last month
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago