This commit is contained in:
2024-11-20 12:54:11 +07:00
parent 523680a350
commit bb5c579630
2136 changed files with 597821 additions and 8689 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);