Element representing a UI page.
Stacked pages are a good way of structuring mobile applications. As you go deeper into the application (e.g. by entering the settings), new pages are stacked on top, and when returning, pages are removed from the stack.
Page stacking is controlled by the PageStack element.
Properties:
Name | Type | Description |
---|---|---|
header |
fengshui.Container | A container for displaying a page header. |
shortcutReceiver |
ui.Page | [readonly] A reference to this page for receiving shortcuts. |
scrollable |
bool | If |
pageStack |
ui.PageStack | The page stack to use. |
currentPage |
bool | [readonly] Whether this page is the currently visible page. |
contentTemplate |
fengshui.Template | An optional template for creating the page's content dynamically after the page was brought to front. |
loading |
bool | [readonly] Whether the page is currently loading. |
frozen |
bool | [readonly] Whether the page is currently frozen. All pages on the page stack except for the current page are frozen. |
openingPercentage |
number | [readonly] The transitioning opening percentage as a value between |