currentItem

Get the currently selected tab DOM element.

Returns

jQuery the currently selected tab DOM element.

Example

<div id="foo" data-role="view" data-init="onInit">
  <div data-role="footer">
    <div data-role="tabstrip">
      <a data-icon="contacts">foo</a>
      <a data-icon="contacts">bar</a>
      <a data-icon="info">baz</a>
    </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();
  console.log(currentItem);
}
</script>
In this article
Not finding the help you need?