init

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

    <div data-role="view">
        Foo
    </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