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();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(currentItem);
}
</script>