afterShow

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

Example

<div data-role="view" id="foo">
    <a href="#bar" data-role="button">Go to bar</a>
</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