# 动画

  • 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: 12/15/2023, 8:18:50 AM