Edit this page

id String(default: null)

The id of the layout. Required

Example

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

<div data-role="layout" data-id="default">
  <header data-role="header"><p>the header</p></header>

  <div data-role="footer"><p>the footer</p></div>
</div>

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

<style>
  .km-view .km-header,
  .km-view .km-footer {
    color: red;
  }
</style>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy