How to check whether a element is made to hide at once. i.e how to notify the visibility of an element.
In my case, the element is made to hide by slideUp function. At once i should be notified about the visibility of the that element.
I got the idea of using bind() method. But it does not have a onHide like event. So how to get like this ? any suggestions will be helpful !
EDIT:
I know it is possible to use is(':hidden') but i want to check continuously like addEventListener
EDIT
if that does not exist
then you will have to check for opacity/filter property
so
also make sure you check opacity cross browser
EDIT 2
note: that repetitions like this MIGHT slow down the browser