Jonathan Ouellette 580e90f6a2 initial add
2022-09-27 14:10:30 -07:00

10 lines
1.7 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.core.min"],function(){!function(n){var i=window.kendo,t=i.mobile.ui,e=t.Widget,o=n.map(i.eventMap,function(n){return n}).join(" ").split(" "),a=e.extend({init:function(i,t){var o=this,a=n('<div class="km-loader"><span class="km-loading km-spin"></span><span class="km-loading-left"></span><span class="km-loading-right"></span></div>');e.fn.init.call(o,a,t),o.container=i,o._attachCapture(),a.append(o.options.loading).hide().appendTo(i)},options:{name:"Loader",loading:"<h1>Loading...</h1>",timeout:100},show:function(){var n=this;clearTimeout(n._loading),n.options.loading!==!1&&(n._loading=setTimeout(function(){n.element.show()},n.options.timeout))},hide:function(){var n=this;clearTimeout(n._loading),n.element.hide()},changeMessage:function(n){this.options.loading=n,this.element.find(">h1").html(n)},transition:function(){this.transitioning=!0,this.container.css("pointer-events","none")},transitionDone:function(){this.transitioning=!1,this.container.css("pointer-events","")},_attachCapture:function(){function n(n){t.transitioning&&n.preventDefault()}var i,t=this;for(t.transitioning=!1,i=0;i<o.length;i++)t.container[0].addEventListener(o[i],n,!0)}});t.plugin(a)}(window.kendo.jQuery)})}("function"==typeof define&&define.amd?define:function(n,i){return i()});
//@ sourceMappingURL=kendo.mobile.loader.min.js.map