This commit is contained in:
2024-12-13 08:31:39 +07:00
parent 1ead9da097
commit 5bdf96851e
3554 changed files with 400518 additions and 83328 deletions
@@ -0,0 +1,23 @@
"use strict";
function testAnim(x) {
$('#animation-box').removeClass().addClass(x + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
$(this).removeClass();
});
};
var animate_custom = {
init: function() {
$('.js-triggeraNimation').click(function(e){
e.preventDefault();
var anim = $('.js-animations').val();
testAnim(anim);
});
$('.js-animations').change(function(){
var anim = $(this).val();
testAnim(anim);
});
}
};
(function($) {
"use strict";
animate_custom.init()
})(jQuery);