javascript - How do I get the properties and destination values of a running Jquery animation? -


given element $myelement actively being animated, how can determine properties affected animation, , final destination, without interfering running animation?

example:

$myelement.css('height','200px').slidedown(2000); $myelement.getanimationproperties(); // return `{'height':'200px'}` 

obviously, call getanimationproperties() in different scope code starts animation (mutation observer). allow second autonomous plugin needs know final animation property value (like height) work properly, without interfering original plug-in.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -