WinJS.Navigation.forward function
Traverses forward in the navigation stack.
Syntax
WinJS.Navigation.forward(distance).done( /* Your success and error handlers */ );
Parameters
distance
Type: NumberThe number of pages to traverse forward in the navigation stack.
Return value
Type: Promise**
A promise that completes with a value indicating whether or not the navigation was successful.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Navigation |
See also
For developers
Your first app - Part 3: PageControl objects and navigation
Quickstart: Using single-page navigation
Quickstart: Adding a nav bar (NavBar)
Quickstart: Using a hub control for layout and navigation
Navigation and navigation history sample
For designers
Top app bar
Guidelines for the hub control
Guidelines for app bars