stop() Yöntemi;
Eşleştiği elementin o an çalışan animasyonunu durdurmak için kullanılır.
Örnek
$(".baslat").click(function(){
$("div").animate({height: 400}, 2000);
});
$(".durdur").click(function(){
$("div").stop();
});
Codepen Ön izleme
Kullanım şekilleri;
.stop( [clearQueue ] [, jumpToEnd ] )
.stop( stopAll )
.stop( goToEnd )
.stop( [queue ] [, clearQueue ] [, jumpToEnd ] )