afterShow

Fires after the mobile View becomes visible. If the view is displayed with transition, the event is triggered after the transition is complete.

    <div data-role="view" id="foo">
        Go to bar
    </div>


    <div data-role="view" id="bar" data-after-show="afterShow">
        Bar
    </div>

    <script>
    var app = new kendo.mobile.Application();

    function afterShow(e) {
    /* The result can be observed in the DevTools(F12) console of the browser. */
        console.log(e.view);
    }
    </script>

Event Data

e.view kendo.mobile.ui.View

The mobile view instance

In this article