jQuery selector to check if an element is animating to hidden

Posted by nickf on Stack Overflow See other posts from Stack Overflow or by nickf
Published on 2010-05-12T00:48:03Z Indexed on 2010/05/12 0:54 UTC
Read the original article Hit count: 191

Filed under:
|

Is there a way to tell if an element is either hidden or is currently in the process of hiding (via an animation)? The only way I can think to do it is to store a flag in the element's data when you call show or hide, but I was wondering if there was another way?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery