A minimal library which polyfills the ResizeObserver API and is entirely based on the latest Specification. It immediately detects when an element resizes and provides accurate sizing information back to the handler. Check out the Example Playground for more information on usage and performance. The latest Resize Observer specification is not yet finalised and is subject to change. Any drastic changes to the specification will bump the major version of this library, as there will likely be breaking changes. Check the release notes for more information.
Features
- Watch multiple elements
- Watch different box sizes
- Switch between native and polyfilled versions
- Resize loop detection
- Notification Schedule
- Inbuilt resize loop protection
- Supports pseudo classes :hover, :active and :focus
- Supports transitions and animations, including infinite and long-running
- Detects changes which occur during animation frame
Categories
HTML/XHTMLLicense
Apache License V2.0Follow Resize Observer
Other Useful Business Software
Unrivaled Embedded Payments Solutions | NMI
NMI Payments is an embedded payments solution that lets SaaS platforms, Software companies and ISVs integrate, brand, and manage payment acceptance directly within their software—without becoming a PayFac or building complex infrastructure. As a full-stack processor, acquirer, and technology partner, NMI handles onboarding, compliance, and risk so you can stay focused on growth. The modular, white-label platform supports omnichannel payments, from online, mobile and in-app to in-store and unattended. Choose from full-code, low-code, or no-code integration paths and launch in weeks, not months. Built-in risk tools, flexible monetization, and customizable branding help you scale faster while keeping full control of your experience. With NMI’s developer-first tools, sandbox testing, and modern APIs, you can embed payments quickly and confidently.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Resize Observer!