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

View File

@@ -0,0 +1,20 @@
"use strict";
function testAnim(x) {
$('.modal .modal-dialog').attr('class', 'modal-dialog ' + x + ' animated');
};
var modal_animate_custom = {
init: function() {
$('#myModal').on('show.bs.modal', function (e) {
var anim = $('#entrance').val();
testAnim(anim);
})
$('#myModal').on('hide.bs.modal', function (e) {
var anim = $('#exit').val();
testAnim(anim);
})
}
};
(function($) {
"use strict";
modal_animate_custom.init()
})(jQuery);