Page

Overview

Pages are contained in a pagestack. The pagestack contains methods to show and hide pages.

Markup declaration

Pages must have the attribute data-role="page". Here is an example:

<div id="firstPage" data-role="page">
</div>

Pages can also contain a toolbar:

<div id="secondPage" data-role="page">
  <footer data-role="footer"></footer>
</div>
Written on July 9, 2010