# 动画

  • slideToggle
  • fadeToogle
  • toggleClass
$('[data-id=61]').first().animate({height: '1000px'}, 500)

# animate callback run twice

animate calls its callback once for each element in the set you call animate

$("html, body").animate(/*...*/)
    .promise().then(function() {
        // Animation complete
    });
Last Updated: 5/14/2022, 11:38:45 AM