Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an event listener to the control. You can add listeners to the following events:
Syntax
WinJS.Navigation.addEventListener(eventType, listener, capture);
Parameters
eventType
Type: stringThe type (name) of the event.
listener
Type: functionThe handler to invoke when the event gets raised.
capture
Type: BooleanIf true, specifies that capture should be initiated, otherwise false.
Return value
This function does not return a value.
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