first commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
/*=========================================================================================
|
||||
File Name: components-modal.js
|
||||
Description: Modals are streamlined, but flexible, dialog prompts with the minimum
|
||||
required functionality and smart defaults.
|
||||
----------------------------------------------------------------------------------------
|
||||
Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
|
||||
Author: Pixinvent
|
||||
Author URL: hhttp://www.themeforest.net/user/pixinvent
|
||||
==========================================================================================*/
|
||||
(function(window, document, $) {
|
||||
'use strict';
|
||||
|
||||
// onShow event
|
||||
$('#onshowbtn').on('click', function() {
|
||||
$('#onshow').on('show.bs.modal', function() {
|
||||
alert('onShow event fired.');
|
||||
});
|
||||
});
|
||||
|
||||
// onShown event
|
||||
$('#onshownbtn').on('click', function() {
|
||||
$('#onshown').on('shown.bs.modal', function() {
|
||||
alert('onShown event fired.');
|
||||
});
|
||||
});
|
||||
|
||||
// onHide event
|
||||
$('#onhidebtn').on('click', function() {
|
||||
$('#onhide').on('hide.bs.modal', function() {
|
||||
alert('onHide event fired.');
|
||||
});
|
||||
});
|
||||
|
||||
// onHidden event
|
||||
$('#onhiddenbtn').on('click', function() {
|
||||
$('#onhidden').on('hidden.bs.modal', function() {
|
||||
alert('onHidden event fired.');
|
||||
});
|
||||
});
|
||||
})(window, document, jQuery);
|
||||
@@ -0,0 +1 @@
|
||||
!function(n){"use strict";n("#onshowbtn").on("click",function(){n("#onshow").on("show.bs.modal",function(){alert("onShow event fired.")})}),n("#onshownbtn").on("click",function(){n("#onshown").on("shown.bs.modal",function(){alert("onShown event fired.")})}),n("#onhidebtn").on("click",function(){n("#onhide").on("hide.bs.modal",function(){alert("onHide event fired.")})}),n("#onhiddenbtn").on("click",function(){n("#onhidden").on("hidden.bs.modal",function(){alert("onHidden event fired.")})})}((window,document,jQuery));
|
||||
Reference in New Issue
Block a user