view

Get a reference to the current view.

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


    <script>
        var app = new kendo.mobile.Application();
        function logCurrentView() {
    /* The result can be observed in the DevTools(F12) console of the browser. */
            console.log(app.view()); // the foo mobile view instance
        }
    </script>

Returns

kendo.mobile.ui.View the view instance.

In this article