id String(default: null)

The id of the layout. Required

    <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>
In this article