The reason I'm asking for is because I want to turn off the show WHILE button when the element that it is animating is in the process of animating.
Use the selector :animated:
:animated
var isAnimated = $('#button').is(':animated');
http://api.jquery.com/animated-selector/
if($("#someElement").is(":animated")) { ... } if($("#someElement:animated").length) { ... } // etc
So you can do:
$("#showBtn").attr("disabled", $("#someElement").is(":animated"));
Source: https://habr.com/ru/post/1782536/More articles:Основные данные и общий доступ к файлам iTunes - Переместить/скрыть файл .sqlite при обновлении приложения? - iosWhat is a method template template in cocoa with a C object? (Thinking language comparison) - design-patternshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1782533/looking-for-suggestions-on-how-to-reuse-alertdialogs-to-confirm-actions-of-contextual-menus-on-the-items-of-an-activitylist&usg=ALkJrhjCmTyMRsTHIcdLXih_Pr6tonMcHwMake two Java applications in the same LAN aware of each other - javaHow to use the perl module you wrote? - perlДиалоговое окно оповещений с цифровым полем EditText - androidWPF Crop and resize images without losing the original image - wpfWhere can I find my system for implementing standard C library functions? - cUIWebView is very slow - iosproblem with SavePoint in mysql - mysqlAll Articles