Sha256: 86a37cc2fccfce6a621bb4988f9902cc1c29a719fd41e9e94e9ac2b0466e5ea3
Contents?: true
Size: 375 Bytes
Versions: 5
Compression:
Stored size: 375 Bytes
Contents
$(function() { var animationClasses = 'animated alternate iteration zoomOut'; var animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend'; $('.animate-trigger').on('click',function() { $('.animate-target').addClass(animationClasses).one(animationEnd,function() { $(this).removeClass(animationClasses); }); }); });
Version data entries
5 entries across 5 versions & 2 rubygems