Read more

jQuery: Get a promise for the end of an animation

Henning Koch
January 09, 2015Software engineer at makandra GmbH

The API is a little confusing because animate returns a reference to the element to enable chaining.
But you can do this:

$element.animate(...);
$element.promise().then(function() { ... });
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot
Posted by Henning Koch to makandra dev (2015-01-09 11:39)