currentItem

Get the currently selected tab DOM element.

Returns

jQuery the currently selected tab DOM element.

    <div id="foo" data-role="view" data-init="onInit">
      <div data-role="footer">
        <div data-role="tabstrip">
          foo
          bar
          baz
        </div>
      </div>
    </div>


    <script>
    var app = new kendo.mobile.Application();
    function onInit(e) {
      var tabstrip = e.view.footer.find(".km-tabstrip").data("kendoMobileTabStrip");
      var currentItem = tabstrip.currentItem();
    /* The result can be observed in the DevTools(F12) console of the browser. */
      console.log(currentItem);
    }
    </script>
In this article