10 lines
1.6 KiB
JavaScript
10 lines
1.6 KiB
JavaScript
/*
|
|
* Kendo UI Complete v2013.3.1119 (http://kendoui.com)
|
|
* Copyright 2013 Telerik AD. All rights reserved.
|
|
*
|
|
* Kendo UI Complete commercial licenses may be obtained at
|
|
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx
|
|
* If you do not own a commercial license, this file shall be governed by the trial license terms.
|
|
*/
|
|
!function(define){return define(["./kendo.mobile.shim.min","./kendo.mobile.application.min"],function(){!function(e){var i=window.kendo,t=i.mobile.ui,n=t.Shim,o=t.Widget,s="open",r="close",l="init",a='<div class="km-modalview-wrapper" />',d=t.View.extend({init:function(e,i){var t,s,r=this;o.fn.init.call(r,e,i),e=r.element,i=r.options,t=e[0].style.width||"auto",s=e[0].style.height||"auto",e.addClass("km-modalview").wrap(a),r.wrapper=e.parent().css({width:i.width||t||300,height:i.height||s||300}),e.css({width:"",height:""}),r.shim=new n(r.wrapper,{modal:i.modal,position:"center center",align:"center center",effect:"fade:in",className:"km-modalview-root"}),r._layout(),r._scroller(),r._model(),r.element.css("display",""),r.trigger(l)},events:[l,s,r],options:{name:"ModalView",modal:!0,width:null,height:null},destroy:function(){o.fn.destroy.call(this),this.shim.destroy()},open:function(i){var t=this;t.target=e(i),t.shim.show(),t.trigger("show",{view:t})},openFor:function(e){this.open(e),this.trigger(s,{target:e})},close:function(){this.shim.hide(),this.trigger(r)}});t.plugin(d)}(window.kendo.jQuery)})}("function"==typeof define&&define.amd?define:function(e,i){return i()});
|
|
//@ sourceMappingURL=kendo.mobile.modalview.min.js.map
|