.stop()
Stop the currently running animation on the matched elements.
Syntax
.stop([clearQueue][, jumpToEnd])
Parameters
clearQueue (optional)
- A Boolean(Defaults to false) indicating whether to remove queued animation as well.
jumpToEnd (optional)
- A Boolean(Defaults to false) indicating whether to complete the current animation immediately.
Return value
The jQuery object, for chaining purposes.
Description
When .stop() is called on an element, the currently running animation is stopped.