A jquery-watch Plug-in for watching CSS styles and Attributes
Posted by: Rick Strahls WebLog,
on 20 Oct 2014 |
View original | Bookmarked: 0 time(s)
A few years back I wrote a small jQuery plug-in used for monitoring changes to CSS styles of a DOM element. The plug-in allows for monitoring CSS styles on an element and being notified if the monitored CSS style changed. This can be useful to sync up to objects or to take action when certain conditions are true in after an element update. The original plug-in worked, but was based on old APIs that have now been deprecated in some browsers. Theres always been a fallback to a very inefficient polling...