Style-observer is a new tool designed to detect CSS property changes and execute JavaScript in response, addressing limitations of previous methods. It performs feature detection to work around browser-specific bugs, supports throttling and aggregation, and has been exhaustively tested. The tool aims to provide a reliable

5m read timeFrom lea.verou.me
Post cover image
Table of contents
A Brief History of Style ObserversWorld, meet style-observer

Sort: