title

Update the title element text. The title element is specified by setting the role data attribute to view-title.

Parameters

value String

The text of title

    <div id="foo" data-role="view" data-title="navbar demo">
      <header data-role="header">
        <div data-role="navbar">
          span
        </div>
      </header>
      Change title
    </div>


    <script>
    var app = new kendo.mobile.Application();
    function onClick(e) {
      var navbar = app.view()
        .header
        .find(".km-navbar")
        .data("kendoMobileNavBar");

      navbar.title("changed");
    }
    </script>
In this article