Edit this page

init

Fires after a mobile Layout and its child widgets is initialized.

Event Data

e.layout jQuery

The mobile layout instance

Example

<div id="foo" data-role="view" data-layout="default">
  Foo view
</div>

<div data-role="layout" data-id="default"  data-init="onInit">
  <header data-role="header">
    <div data-role="navbar">
      <span data-role="view-title"></span>
    </div>
  </header>
</div>

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

function onInit(e) {
    console.log("init");
}
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy