Home  >  Article  >  Web Front-end  >  jQuery quickly ends the currently executing animation_jquery

jQuery quickly ends the currently executing animation_jquery

WBOY
WBOYOriginal
2016-05-16 17:13:481203browse

When you need to quickly end a currently executing jquery animation (it has not yet been executed), such as fadeOut(), you can execute stop(true) on the object executing the current animation; method

such as:

Copy code The code is as follows:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn