Stop the currently running animation:
The stop() method stops the currently running animation for the selected elements.
|stopAll||Optional. A Boolean value specifying whether or not to stop the queued animations as well. Default is false|
|goToEnd||Optional. A Boolean value specifying whether or not to complete all animations immediately. Default is false|
queued animations as well
How to stop the queued animations.
Complete all animations immediately
How to complete all animations immediately.
Your message has been sent to W3Schools.