In jquery, this sentence. stop (false, true); what does it mean? jquery. stop

Source: Internet
Author: User

In jquery, this sentence. stop (false, true); what does it mean? jquery. stop

. Stop is the method used in jQuery to control the page animation effect. The animation effect on the current page is immediately ended after running.
In the new jQuery version, stop adds two parameters:
The first parameter indicates whether to clear the animation sequence, that is, whether to stop the animation effect of the current element or stop all the animation effects attached to it. Generally, it is false to skip the current animation effect, execute the next animation effect;
The second parameter is whether to execute the current animation effect to the end, which means that when the current animation is stopped, the animation effect has just been executed. In this case, the animation effect after execution is desired, this parameter is true. Otherwise, the animation will stop at the stop operation.


From: https://zhidao.baidu.com/question/230698831.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.