how to listen to the end of a bootstrap animation

后端 未结 4 1066
暗喜
暗喜 2020-12-18 05:21

I\'m developing a website using bootstrap and its responsive JS+CSS.

At the top of the page I have a fixed navigation bar where an \"expand menu\" button is shown in

4条回答
  •  感情败类
    2020-12-18 05:53

    jQuery has an animation listener built in: http://docs.jquery.com/Selectors/animated

    Example: if( $(foo).is(':animated') ) {...}

    Then if an element is !animated you can can apply whatever logic you want.

提交回复
热议问题