init

Fired when the mobile ModalView and its child widgets are initialized.

Example

<div data-role="view">
    <a data-role="button" href="#foo" data-rel="modalview">Foo</a>
</div>

<div data-role="modalview" id="foo" data-init="onInit">
    Foo
</div>

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

new kendo.mobile.Application();
</script>

Event Data

e.sender kendo.mobile.ui.ModalView

The widget instance which fired the event.

In this article