view
Get a reference to the current view.
<div data-role="splitview">
<div data-role="pane" data-init="showLoading" id="my-pane" data-loading="Wait!">
<div data-role="view" id="foo">
Get View
</div>
</div>
</div>
<script>
new kendo.mobile.Application();
function getView(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log($("#my-pane").data("kendoMobilePane").view());
}
</script>
Returns
kendo.mobile.ui.View
the view instance.