2.5. Selecting Elements That Are Currently Animating
2.5.1. Problem
You need to select elements based on whether they’re
animating.
2.5.2. Solution
jQuery offers a convenient filter for this very purpose. The
:animated filter will match only elements that are currently
animating:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial