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