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) {
    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
Not finding the help you need? Improve this article