- continue –
- whether to continue the interrupted chain for the selected elements or not
- Defaults to
If multiple elements are used in a .wait() context and only a subset does .unwait() then the invocation chain can still go on with the remaining elements.
Examples with breaking current waits
Menu navigation is frustrating when the submenu closes immediately on mouseleave, because sometimes the mouse pointer moves few pixels unintended. That's why we want to build in timeouts on mouseenter and mouseleave to show/hide the corresponding submenu.
With jquery-timing this is just two lines:⇒
These 25 boxes shall be animated as falling down with each button click.A helper function is necessary to animate them in reverse order:
Try clicking on that button multiple times during animation. With .stop(true,true) and .unwait() all animations are reset at the beginning.⇒