If possible, I'd like a tabstrip layout with a drawer that slides out from the left when you select one of the tabs. Kind of have it working with something like the code below. Before I go much further, is this possible with KendoUI? I'm starting to see some apps do this (like Lowes Hardware app). It's really nice.
<div data-role="layout" data-id="drawer-layout">
<header data-role="header">
<div data-role="navbar">
<span data-role="view-title"></span>
</div>
</header>
<div data-role="footer">
<div data-role="tabstrip" data-selected-index="1" data-select="onSelect">
<a data-icon="contacts">foo</a>
<a data-icon="contacts">bar</a>
<a data-icon="info">baz</a>
<a data-icon="info">baz2</a>
<a data-icon="info">baz4</a>
</div>
</div>
</div>
<script>
function onSelect(e) {
if (e.item.index()==0)
{
$("#my-drawer").data("kendoMobileDrawer").show();
e.preventDefault(); //prevent the tab selection
}
}
</script>
<div data-role="layout" data-id="drawer-layout">
<header data-role="header">
<div data-role="navbar">
<span data-role="view-title"></span>
</div>
</header>
<div data-role="footer">
<div data-role="tabstrip" data-selected-index="1" data-select="onSelect">
<a data-icon="contacts">foo</a>
<a data-icon="contacts">bar</a>
<a data-icon="info">baz</a>
<a data-icon="info">baz2</a>
<a data-icon="info">baz4</a>
</div>
</div>
</div>
<script>
function onSelect(e) {
if (e.item.index()==0)
{
$("#my-drawer").data("kendoMobileDrawer").show();
e.preventDefault(); //prevent the tab selection
}
}
</script>