kendo.mobile.shim.min.js 5.71 KB
/** 
 * Kendo UI v2016.1.112 (http://www.telerik.com/kendo-ui)                                                                                                                                               
 * Copyright 2016 Telerik AD. All rights reserved.                                                                                                                                                      
 *                                                                                                                                                                                                      
 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       

*/
!function(e,define){define("kendo.mobile.shim.min",["kendo.popup.min"],e)}(function(){return function(e,n){var i=window.kendo,o=i.mobile.ui,t=i.ui.Popup,s='<div class="km-shim"/>',a="hide",d=o.Widget,p=d.extend({init:function(n,o){var p=this,c=i.mobile.application,l=i.support.mobileOS,r=c?c.os.name:l?l.name:"ios",u="ios"===r||"wp"===r||(c?c.os.skin:!1),h="blackberry"===r,m=o.align||(u?"bottom center":h?"center right":"center center"),f=o.position||(u?"bottom center":h?"center right":"center center"),w=o.effect||(u?"slideIn:up":h?"slideIn:left":"fade:in"),g=e(s).handler(p).hide();d.fn.init.call(p,n,o),p.shim=g,n=p.element,o=p.options,o.className&&p.shim.addClass(o.className),o.modal||p.shim.on("down","_hide"),(c?c.element:e(document.body)).append(g),p.popup=new t(p.element,{anchor:g,modal:!0,appendTo:g,origin:m,position:f,animation:{open:{effects:w,duration:o.duration},close:{duration:o.duration}},close:function(e){var n=!1;p._apiCall||(n=p.trigger(a)),n&&e.preventDefault(),p._apiCall=!1},deactivate:function(){g.hide()},open:function(){g.show()}}),i.notify(p)},events:[a],options:{name:"Shim",modal:!1,align:n,position:n,effect:n,duration:200},show:function(){this.popup.open()},hide:function(){this._apiCall=!0,this.popup.close()},destroy:function(){d.fn.destroy.call(this),this.shim.kendoDestroy(),this.popup.destroy(),this.shim.remove()},_hide:function(n){n&&e.contains(this.shim.children().children(".k-popup")[0],n.target)||this.popup.close()}});o.plugin(p)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,n,i){(i||n)()});
//# sourceMappingURL=kendo.mobile.shim.min.js.map