view

Returns the kendo.mobile.ui.View which contains the widget. If the widget is contained in a splitview, modalview, or drawer, the respective widget instance is returned.

Example

<div data-role="view" id="foo" data-init="getButtonView">
    <a id="button" data-role="button">I am a mobile button</a>
</div>

<script>
    new kendo.mobile.Application();
    function getButtonView() {
        console.log($("#button").data("kendoMobileButton").view()); // the foo mobile view instance
    }
</script>
In this article
Not finding the help you need? Improve this article