/** * 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.navbar.min",["kendo.core.min"],e)}(function(){return function(e,t){function i(i,n){var o=n.find("["+l.attr("align")+"="+i+"]");return o[0]?e('
').append(o).prependTo(n):t}function n(t){var i=t.siblings(),n=!!t.children("ul")[0],o=!!i[0]&&""===e.trim(t.text()),r=!(!l.mobile.application||!l.mobile.application.element.is(".km-android"));t.prevAll().toggleClass("km-absolute",n),t.toggleClass("km-show-title",o),t.toggleClass("km-fill-title",o&&!e.trim(t.html())),t.toggleClass("km-no-title",n),t.toggleClass("km-hide-title",r&&!i.children().is(":visible"))}var l=window.kendo,o=l.mobile,r=o.ui,s=r.Widget,a=s.extend({init:function(t,n){var l=this;s.fn.init.call(l,t,n),t=l.element,l.container().bind("show",e.proxy(this,"refresh")),t.addClass("km-navbar").wrapInner(e('')),l.leftElement=i("left",t),l.rightElement=i("right",t),l.centerElement=t.find(".km-view-title")},options:{name:"NavBar"},title:function(e){this.element.find(l.roleSelector("view-title")).text(e),n(this.centerElement)},refresh:function(e){var t=e.view;this.title(t.options.title)},destroy:function(){s.fn.destroy.call(this),l.destroy(this.element)}});r.plugin(a)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()}); //# sourceMappingURL=kendo.mobile.navbar.min.js.map