There is a hidden block that climbs (or should) by clicking on the button. It also adds an animation to the class animated %Π½Π°Π·Π²Π°Π½ΠΈΠ΅ΠΠ½ΠΈΠΌΠ°ΡΠΈΠΈ% Animation animated %Π½Π°Π·Π²Π°Π½ΠΈΠ΅ΠΠ½ΠΈΠΌΠ°ΡΠΈΠΈ% . But if it is display:none how to make the menu pop out with the specified animation
$('#nb-close-toggle').click(function(){ //ΠΊΠ½ΠΎΠΏΠΊΠ° $(this).toggleClass('open'); var animationName = "ΠΊΠ°ΠΊΠ°Ρ ΡΠΎ Π°Π½ΠΈΠΌΠ°ΡΠΈΡ"; $('.menu').addClass('animated ' + animationName).one(animationEnd, function() { $(.menu).removeClass('animated ' + animationName); }); });