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

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

linear regression - Trying to get confidence/prediction intervals with `predict.lm` in R, but I keep getting an error regarding my dichotomous variable -